For example, I am executing "index.html"
Something like this:
var filename = $.getFileName();
alert(filename);
Is it possible to get "index.html" as result in alert?
For example, I am executing "index.html"
Something like this:
var filename = $.getFileName();
alert(filename);
Is it possible to get "index.html" as result in alert?
var name = window.location.href.substr(window.location.href.lastIndexOf("/")+1);