Hello,
I need to capture a ‘div’ content just before submitting the page, so I’ll be able to save it, using AJAX.
I thought that using innerHTML will be the simplest way. However, while IE updates the innerHTML with the input/changes made by the user, it seems that Firefox returns the innerHTML content as it was when the page first loaded.
Is there a way to get the current HTML code of the ‘div’ also in Firefox?
Most of the stuff I found so far deals with how to use DOM methods to set a DOM node, I’m looking for a way to get it.
Appreciate any help on the issue.
Regards,
Arie.