hi,
I want to submit a form present on an webpage through javascript. But the problem is that there is no regular html submit button, istead there is an image submit button. Moreover, while I do the
nothing happens. For reference I am putting below the relvant html source of the form
Even the onsubmit doesnot work.
Please let me know how to submit this form through javascript. There is no id for the image submit button..
I want to submit a form present on an webpage through javascript. But the problem is that there is no regular html submit button, istead there is an image submit button. Moreover, while I do the
Code:
getElementById("myform").submit()
Code:
<input name="frno" type="text" class="TextFielsdBRDR" id="frno" onfocus="chngcode(4,'focused');" onblur="chngcode(4,'blurred');" value="Mobile No" size="11" maxlength="10" autocomplete="off"/> <span id="but_nonmember_sms"> <input type="image" src="../images/but_send.gif" alt="Send Free SMS" title="Send Free SMS" width="75" height="19" align="top" class="BRDRnone"/> </span> <br /> <br />
Please let me know how to submit this form through javascript. There is no id for the image submit button..
Comment