After your last post I decided to give your suggestion a try as well as the other things I had tried. I don't know what happened, but it all works now.
PHP Code:
<input type="button" onclick="newi();return false;">newer image</button> //works
<button onclick="newi();return false;">newer image</button> // works
<input type="button" onclick="newi();">newer image</button> // when placed outside the form works
I know it didn't before, because I tested it many times earlier and in ie8 and it would not work in Opera even though it did in ie8. All I can say is that after taking a break from Opera my browser crashed and I restarted it and decided to try some late night scripting and the code that was not working before now works. Kinda frustrating earlier, but I am just glad it all works now and I don't have to use CSS to get it to work.
Bookmarks