When adding containers, we are in full control of the (x)html we insert , so is it really necessary to re-parse the html every time we add a container element. For my app, I have removed the call to the xhtml parser in the container method (ie.e. don;t simply call update() , but simply call
- Code: Select all
jQuery(this._element).val(html);
jQuery(this._box).find(this._options.htmlValSelector).val(html);
instead of update(). And this has improved the performance of my app significantly.
- Eric