Hello,
Thank you for reading my post.
I would like to replace the following submit button with an anchor:Here is my start:Code:<input type="submit" value="Submit button 3" name="submit_btn_3" />
Note that:Code:<a href="#" onclick="document.forms[0].submit();">Log out</a>
- I have several submit buttons in my form.
- Each submit button has its own "name":
I only want to replace the third submit button with an anchor.Code:<input type="submit" value="Submit button 1" name="submit_btn_1" /> <input type="submit" value="Submit button 2" name="submit_btn_2" /> <input type="submit" value="Submit button 3" name="submit_btn_3" />
I need to pass the name of the submit to the JavaScript "submit()" function.
Can you tell me how to do that?
Can you point me to the right specification?
Thank you and all the best,
--
Lmhelp


Reply With Quote
Bookmarks