javascript - Page Jerk on Jquery.load() Function -
i using jquery.load(html) function load html in div. code below.
$("#preview-content").load("abc/abc.html", function(){ $('#workphone').text('0123456'); //...and more text fields fill here }
when code execute whole page gets jerk. looks page refreshing while in actual 1 div loading. have changed .load() function ajax call below.
$.ajax({ url: "abc/abc.html", datatype: 'html', success: function(html) { $("#preview-content").html(html); return false; } });
and showing same result. navigation, toolbar, grid, everthing jerk reloaded. idea doing wrong?
Comments
Post a Comment