var fPath =
document.location.pathname.split('/');
var
currentFile = (fPath[fPath.length - 1]).split('.')[0];
// file name without extension
alert(currentFile);
This javascript code will display Url Page Name.
C#, VB.NET, SQL Server ,ASP.NET and Crystal Report and Net for Beginner.
very nice post
ReplyDelete