I need PLEASE HELP with this - I cannot fill the field:
<!-- Form -->
<form action="" class="form">
<fieldset>
<div class="formRow" style="border:0px solid;width:800px">
<label><b>Amount:</b><span class="req">*</span></label>
<div class="formRight" style="border:0px solid;">
<input value="" type="text" style="width:100px;" id="amnt" >
<input value="Create Goodies" class="blueB" type="button" onclick="createit();">
</div>
<div class="clear"></div>
</div>
</fieldset>
</form>
<!--End Form -->
This is my Autoit Code:
$oForm = _IEFormGetObjByName($oIE, "Form")
$oText = _IEFormElementGetObjByName($oForm, "amnt")
_IEFormElementSetValue($oText, "50")
_IEFormSubmit($oForm)
What is wrong here?
<!-- Form -->
<form action="" class="form">
<fieldset>
<div class="formRow" style="border:0px solid;width:800px">
<label><b>Amount:</b><span class="req">*</span></label>
<div class="formRight" style="border:0px solid;">
<input value="" type="text" style="width:100px;" id="amnt" >
<input value="Create Goodies" class="blueB" type="button" onclick="createit();">
</div>
<div class="clear"></div>
</div>
</fieldset>
</form>
<!--End Form -->
This is my Autoit Code:
$oForm = _IEFormGetObjByName($oIE, "Form")
$oText = _IEFormElementGetObjByName($oForm, "amnt")
_IEFormElementSetValue($oText, "50")
_IEFormSubmit($oForm)
What is wrong here?