...

View Full Version : why Form.Submit() mehtod doesnot work



akhnukh
08-15-2005, 06:09 AM
Hello
I have Javascript code below , in which i call html form Submit() mehtod
,when i run my page in IE it works fine .but when i open this page in
FIREFOX it doesnot works why is it so.
What is the alternative solution for it for FIREFOX .

<script language='Javascript'>
document.form1.action='www.somelink.com'
Document.form1.submit();
</script>

Kor
08-15-2005, 09:20 AM
this should work:

<script type="text/javascript">
document.form1.action='www.somelink.com'
document.form1.submit();
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum