Tuesday, 13 August 2013

How to get url path without $_GET parameters using javascript?

How to get url path without $_GET parameters using javascript?

If my current page is in this format...
http://www.mydomain.com/folder/mypage.php?param=value
Is there an easy way to get this
http://www.mydomain.com/folder/mypage.php
using javascript?

No comments:

Post a Comment