Sign in to follow this  
Followers 0
fbar

help with .ie please cart input value

1 post in this topic

ok this is the html code from within the web page

 

<input onkeypress="EnterKeyLeaves(this.id,event);" onblur="LeaveTextBox(this.id, 'tblARecords_0_hlPointsto', 'tblARecords_0', 'arecord', 'data', 'tblARecords_0_pointstotd', 'Points to');" onfocus="CheckForSameRow('tblARecords_0');" onclick="ARecordNoEdit=true;" onchange="ARecordChange('tblARecords0hdnRecModified', 'tblARecords_0', 0, '0');" style="width: 400px; display: none;" id="tblARecords_0_txtPointsto" value="2.125.69.0" name="tblARecords_0_txtPointsto" type="text">

 

im trying to chane the value wich is my ip value = "2.125.69.0"

i belive its id is "tblARecords_0_txtPointsto"

now if it was a form id simply (but its not a form its a table with input i belive)

_IELoadWait ($oIE)
Local $dnsinputform = _IEFormGetObjByName($oIE, "form1")
Local $dnsinputbox = _IEFormElementGetObjByName($dnsinputform, "tblARecords_0_txtPointsto")

$newip = _getip

_IEFormElementSetValue($dnsinputbox, $newip ,1)

please can some one help me with this little hold up

thank you very much

rob
 

 

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  
Followers 0