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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -