Code Snippet posted by:
Madhu.b.rokkam | Posted on: 2/15/2011 | Category:
JavaScript Codes | Views: 1662 | Status:
[Member] [MVP] |
Points: 40
|
Alert Moderator
if the url is
http://localhost:1033/Default.htm?ValueFromAspx=test
var str = document.location.search.substring(1);
alert(str);
this will result as
ValueFromAspx=test
Thanks and Regards
Madhu
Found interesting? Add this to: