[thelist] submit form via javascript. fine in IE, broke in Netscape
Scott Blanchard
octigonuser at hotmail.com
Thu Oct 23 23:24:20 CDT 2003
I have created a custom save function that works as expected in IE. However,
it breaks in Netscape 7.1 PC
Perhaps someone can tell me what the source of the problem in Moz is:
function x8doSave(){
send_to_html(); // this preps the code reeeeeaaal nice
document.getElementById('myform').submit(); // works in IE only
}
By the way, here is the form tag and the iframe that serves as the target
for the server transfer.
<form id="myform" name="wysiwygproForm" method="post" action="save.asp"
target="x8iframe" onSubmit="submit_form()">
<!-- THIS FRAME IS USED TO TRANSPORT DATA TO THE SERVER WITHOUT POPUPS -->
<iframe name="x8iframe" src="" frameborder="0"
style="position:absolute;top:0;left:0;visibility:hidden;z-index:997;border-top:1px
solid #999;margin:0 1px 1px 1px;padding:0;"></iframe>
_________________________________________________________________
Surf and talk on the phone at the same time with broadband Internet access.
Get high-speed for as low as $29.95/month (depending on the local service
providers in your area). https://broadband.msn.com
More information about the thelist
mailing list