I have a problem with a JavaScript function submitting a form twice. It looks like:
<a href="javascript:parent.frames['fn'].submitFunction();">
<img src="/image.gif" border="0"> submit
</a>
submitFunction() validates and submits a form.
What actually happens...
I was hoping not to use graphics: I'd have to update all my buttons to graphics as different platforms render buttons differently, and I'd have to add more javascript to emulate pressing the button.
Cheers,
Works in NS4.72 under windoze.
Maybe it's getting confused somewhere else. Try closing the <font> tag, closing the <option> tags, or maybe even using " instead of '.
This seems like a very simple question. I want to turn a link into a button. The link points to myUrl, where myUrl contains form parameters eg. http://some.place/page?id=2. The link:
<br>
<a href="myUrl">Go!</a>
<br>
works no problem. My first attempt at a button:
<input...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.