Can any one tell me how can i get the substring from the URL "http://mydomain.com/home/login.jsp"
I am using the below code
<script language="JavaScript">
var substring= document.referr
</script>
I want to get path in substring as value "/home/login.jsp" from the "http://mydomain.com/home/login.jsp" URL using document.referr
Thanks in advance