[Chameleon-dev] [Bug 368] multiple submit problem in IE
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Fri May 21 10:03:50 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=368
------- Additional Comments From pspencer at dmsolutions.ca 2004-05-21 10:03 -------
I was thinking about how to do this. One way would be to do it in the way you
suggest here which is to provide a generic submit function which all widgets
would call. This would necessitate changes to almost every widget, a lot of work :(
I'm going to suggest another way which can be implemented by the user with no
changes to widgets. Essentially, I want you to try this:
<script language="Javascript">
var pageLoaded = false;
function myOnload()
{
pageLoaded = true;
CWC2OnLoadFunction();
}
function mySubmit()
{
//returning false prevents the form from being submitted.
return pageLoaded;
}
</script>
<body onload="myOnLoad();">
<form onsubmit="mySubmit();">
... widgets here ...
</form>
</body>
if this works then I would suggest that we make this a documentation/known
problems issue and make sure that this is recorded
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list