How to use .html() in IE8 and jquery ? without flickering the html page? -
jquery + html + rails 4
$('#onward').html("<%= escape_javascript(render 'bus_listing', :is_return => true) %>"); // not working in < ie8. other browser working fine
bus_listing partial.
$('#onward')[0].innerhtml = "<%= escape_javascript(render 'bus_listing', :is_return => false) %>"; // working in full html page flickering , not adding new data in html.
any solution .html() replacement in ie8. please share.
did try innerhtml ?
document.getelementbyid('onward').innerhtml="<%= escape_javascript(render 'bus_listing', :is_return => true) %>"
Comments
Post a Comment