I am seeing very poor page set-up time in IE using jeditable.
The page has a table in which each row has 13 span elements to which jeditable is applied as follows:
$(document).ready(function() {
$('#entry_pl span.ples').editable('my_xhr.php', {
placeholder: '<span class="placeholder">unset</span>',
indicator: '<img src="indicator.gif" class="indi">',
data: function(value, settings) {
return $('<span />').html(value).text();
}
});
});
Functionality is great -- everything works. But in IE 6...8 the above code takes over half a second per table row. So page set-up delay is terrible already for a 10-row table. User's won't be happy with that. Set-up delay in WebKit and Firefox is negligible.
Any thoughts or suggestions?
I haven't started reviewing or profiling jeditable code for performance.
And I'm thinking to maybe call .jeditable() on an element only when it is clicked rather than on all elements in $(document).ready().