Hello Guys,
I have a problem using $.getScript() on chrome. It doesn't work on chrome browser. I've tested it on firefox, ie and safari and it worked. All I have on my external script is an "alert()" and it doesn't work.
Here's the code:
page
$(document).ready(function(){
$("#btnGet").click(function(){
$.getScript("script.js");
});
});
script.js
alert('Get script loading');
Is anyone have experienced this problem?
Best regards, Belmer