<script>
$.getScript("javascriptfile.js", function(data ){
alert("Script loaded and executed."+data);
});
</script>
data return undefined. I want to get the response data or content of javascriptfile.js
tested below not working
$.getScript("http://code.jquery.com/jquery-1.9.1.min.js", function(data){
alert("Script loaded and executed."+data);
});