This question is locked. New answers and comments are not allowed.
Hello,
I have a page using an MVC Editor control (actually many of them), I want to perform some automatic autosave of the edited content in the form.
To do this I use the jQuery serialize() function of the form element, then I post the serialized form information to server using jQuery post(). It work fine, excepting that the serialize function will not serialize the "real" value of the last focused Editor control, it is like the value in the hidden field associated with the Editor control does not get updated until the control looses its focus. Because of this my autosave feature will save older information than it is actually in the editor.
Is there any way of forcind the editor controls to flush their "real" value, from the visual, into the hidden field, from where is read by the jQuery form serialize()?
Thanks,
Vasile M
I have a page using an MVC Editor control (actually many of them), I want to perform some automatic autosave of the edited content in the form.
To do this I use the jQuery serialize() function of the form element, then I post the serialized form information to server using jQuery post(). It work fine, excepting that the serialize function will not serialize the "real" value of the last focused Editor control, it is like the value in the hidden field associated with the Editor control does not get updated until the control looses its focus. Because of this my autosave feature will save older information than it is actually in the editor.
Is there any way of forcind the editor controls to flush their "real" value, from the visual, into the hidden field, from where is read by the jQuery form serialize()?
Thanks,
Vasile M