t;script language="JavaScript">
<!--
var re=/^(.*)\/([0-9,A-z,_]*)\.([A-z]*)$/
var t=re.exec(location.href);
var filName=t[2];
document.write("<br>Filename=" + filName + "<br>");
// -->
</script>
</body>
</html>
======================== > -----Original Message-----
> From: kristof@bernaert.be [mailto:kristof@bernaert.be]
> Sent: Friday, July 05, 2002 2:04 PM
> To: ASP Web HowTo
> Subject: [asp_web_howto] getting filename of current
> loaded page
>
>
> is there a short work around to get only the filename,
> without extension,
> of the current loaded page ?
>
> thx !
> k.
>
> ---
>
> Improve your web design skills with these new books
> from Glas |