//add a scripts to head
$.getScript("https://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js", function () {
alert("your resource is ready!")
})
//add multiple scripts to head (nested when they depend on each other)
$.getScript("https://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js", function () {
$.getScript("https://datatables.net/release-datatables/extras/TableTools/media/js/TableTools.min.js",function(){
alert("your resources are ready!")
$.getScript("https://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js", function () {
alert("your resource is ready!")
})
//add multiple scripts to head (nested when they depend on each other)
$.getScript("https://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js", function () {
$.getScript("https://datatables.net/release-datatables/extras/TableTools/media/js/TableTools.min.js",function(){
alert("your resources are ready!")
})
})
ConversionConversion EmoticonEmoticon