pulling out info
Código HTML:
<html> <script language="javascript" type="text/javascript"> <!-- hide function getit() { var url = "http://servername/servlet/WebClient/main?user=stevehearne&pass=mypassword&serve r=127.0.0.1" ; var end = url.length; var grabname=url.substring(41,end); var stuff = grabname.split("&"); for (var i = 0; i<stuff.length;i++) { alert(stuff[i]); } } // done --> </script> </head> <body onLoad="getit();">
Alguna idea?