Jump to content

IE Question.


Recommended Posts

Hi,

Can I set the value of an input without a form name?

The input has a name...

<FORM METHOD="get"
    ACTION="/cgi-bin/checkmail.pl">
     <p align="center"><br>
     <INPUT TYPE="text" NAME="username" SIZE=20 VALUE="">
     <span class="style1"><font color="#FFFFFF">@tempinbox.com
     </font></span>&nbsp;
     <INPUT TYPE="submit" NAME="button" VALUE="Check Mail">
     </p>
     <p align="center">
     <INPUT TYPE=CHECKBOX NAME="terms"><b><font color="#FFFFFF">I have read the
     </font> <a href="terms.html"><font color="#FFFFFF">terms of service.</font></a><font color="#FFFFFF">
     </font></b>
</FORM>

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

$oIE - object of IE

$oDoc = _IEDocGetObj($oIE)

$oArray = $oDoc.getElementsByTagName("input")

for $element in $oArray

if $element.Name=="Username" then $element.Value= "Whatever"

next

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...