Fred,
This makes sense. I have been trying to reproduce my problem without jsps and java, so that I could have a simple
test-case. So far, I am getting appropriate behavior...so it must be something like what you experienced.
I'll see if I can nail it down, and post back.
Thanks,
<FORM> tags must be inserted at a DOM-level, not through innerHTML
(which Ajax.Updater uses).
You can either:
1) Have the FORM tag in your original HTML, then just update its
action property in your callback
- or -
2) Use "new Element" (or appendChild) to add the FORM tag to the
document at a DOM-level..
<table>
... some table
<table> <!-- missing closing table tag >
<form>
... my form
<table>...other tables inside the form</table>
</form>
I found the problem, and Fred was right.
It was an unclosed table prior to my form tag, that caused issues with the DOM in Firefox. IE was apparently more lenient with this invalid HTML.
Once I found this, I was able to post the form -- without ajax -- and all of the form elements that had been updated via ajax were properly posted to the server.
Example of issue:<table>
... some table
<table> <!-- missing closing table tag >
<form>
... my form
<table>...other tables inside the form</table>
</form>
Thanks for all the help! Hopefully others will now benefit from my typo.....
-MarcOn Mon, Jul 14, 2008 at 9:57 AM, Frederick Polgardy <fr...@polgardy.com> wrote:
Interesting, I didn't realize that. In our case, we had a form in the original HTML, just inserting input elements into it.
-FredOn Mon, Jul 14, 2008 at 8:46 AM, Diodeus <dio...@gmail.com> wrote:
<FORM> tags must be inserted at a DOM-level, not through innerHTML
(which Ajax.Updater uses).
You can either:
1) Have the FORM tag in your original HTML, then just update its
action property in your callback
- or -
2) Use "new Element" (or appendChild) to add the FORM tag to the
document at a DOM-level..--
Science answers questions; philosophy questions answers.