PDA

View Full Version : Why Won't This WORK? JS/PHP 'Submit' Button



nlaffan
October 3rd, 2008, 02:19 AM
http://www.ecoalaskaseafoods.com/order2.php

Why won't this work in IE 7?? Anyone know of some special IE fix that could make this work as well as it does in FF/Safari?

(This is a dev. version, so as long as you see input2.php up there, you won't be in any danger of actually purchasing fish.)

Thoughts?

tfg
October 3rd, 2008, 08:31 AM
why do you need to use javascript to submit the form?

you could user <input type="image" /> in your form.

bootiteq
October 7th, 2008, 12:41 AM
weird?

try "javascript:document.form1.submit();"

and also try making it a function

eg:
function submitMyForm(){
var f = document.getElementById("form1");
f.submit();
}

Maybe it just cant find the form, I dont have IE 7 so I cant test it.

from memory using <input type="image" /> doesn't work on one of the IE's