Of course.
var divContent;
function saveDivContent() {
divContent = $(#test).html();
}
function doSomethingWithTheSavedContent() {
alert(divContent);
}
But, be careful if the div content contains a form with dynamically
created elements. I've had trouble with saving those in
Hi,
Thanks, what I want to do is, a list of items displayed in the div, if
user click one of them, it will be erased and replaced with form, and
later restore the list of items when done, possible?
On Oct 26, 7:19 pm, Adrian Lynch [EMAIL PROTECTED] wrote:
Of course.
But, be careful if the
Yup, have a look at this:
http://www.appelsiini.net/projects/jeditable
Adrian
On Oct 26, 5:53 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Thanks, what I want to do is, a list of items displayed in the div, if
user click one of them, it will be erased and replaced with form, and
3 matches
Mail list logo