Ticket #1237 (closed defect: worksforme)
Form won't submit in FF with Xinha on the page
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello,
The form will not be submitted with a XINHA (Release: 0.95 (Do, 01 Mai 2008 14:33:36 +0200)) textarea on my page in Firefox (2.0.0.14). I submit the form through javascript (see below). The form will not be posted and the page will not submit - just sit there doing nothing. All works well in IE.
When I remove XINHA it posts fine in FF again.
I'm using the following code in the header:
<SCRIPT language="JavaScript?"> function SubmitForm?() { var form1 = document.getElementById('form1');
if (Spry.Widget.Form.validate(form1) != false) {
form1.submit();
} return false; } </SCRIPT>
I'm using a simple form as of: <form action="somepage.htm" method="post" name="form1" id="form1"> <textarea id="webpage_body" name="webpage_body" style="width: 100%" rows="40">Some text</textarea> </form>
Underneath the form I have a button as of: <input name="btnSave" type="button" class="button" onclick="SubmitForm?()" value="Save" id="btnSave" />
Thanks
