A late reply i know but i have been away. Anyway, back to the problem. Unfortunately this still does not work, with either method.
Here is some of the code:
PHP Code:
<form name="s1_2" id="s1_2" action="s1_2.asp" method="post">
<input type="hidden" name="a" id="a" value="U">
<input type="button" name="Back" value="<< Back" onclick="document.s1_2.a.value='P';document.s1_2.submit();" style="width:80px" />
<input type="submit" name="Next" value="Next >>" style="width:80px" />
</form>
As said before this all works fine in IE and even when i change it to:
document.getElementById('a').value='P';
document.getElementById('s1_2').submit();
still nothing happens in FireFox - just nothing!
I just don't understand - how can one then use an image or something to submit forms etc in FF?
Please can someone shed some light on this for me?
Many thanks.
PS the "a" field is used so the asp page knows whether to go forwards or back through a sequence of pages... hence why i need to be able to change that as well - not just submitting the form, but it is all the same problem.
Bookmarks