Wednesday, January 28, 2015
Vikas Sharma
Scripts/Hello.js
function HelloWorld() {
//print Hello World
$("#UserMessage").html("Hello World");
}
Now we have to call it in another JavaScript File
Scripts/Activity.js
$.getScript('/Scripts/Hello.js', function () {
HelloWorld();
});
0 comments:
Post a Comment