Jump to content
Sign in to follow this  

Change value on a onclick javascript form?

Recommended Posts


Hello :)

Im stuck on a little problem here :/

I want to change/set the value of a onclick form in IE.

Is this posible with autoit, or do i need to use Javascript?

I will give you some info:

<td id="2" class="i1" width="100%" colspan="2" onclick="cOption(this);

I have got the object by ID. _IEGetObjById($oIE, 2), but how can i set a new value?

If i click the buttom with mouse, it pops up a text box where im supposed to fill in a number.

Info from the box:

>>>> Window <<<<

Title: Explorer User Prompt

Class: #32770

Position: 41, 42

Size: 488, 129

Style: 0x94C800C4

ExStyle: 0x00010101

Handle: 0x00600392

>>>> Control <<<<

Class: Edit

Instance: 1

ClassnameNN: Edit1


Advanced (Class): [CLASS:Edit; INSTANCE:1]

ID: 8133


Position: 11, 68

Size: 461, 21

ControlClick Coords: 291, 10

Style: 0x50010080

ExStyle: 0x00000204

Handle: 0x0012046C

Hope someone have a answer :)

Question: How can i fill in a value/data?

Share this post

Link to post
Share on other sites

I would first check the code of the cOption(this) function.

Share this post

Link to post
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
Sign in to follow this