document.location contains the QueryString, just split the ****, my friend
Oops, you better use GET as method.
And as you only has one value (txt1) desired value comes after "=" till
the end
for (i=0;i<document.location.value.length;i++){
if(d.l.v.charAt(i)='=') j = i
}
value = document.location.substr(j, d.l.v.l - i)
> Hi,
> I have a codes like this!!
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> <head>
> <title> new document </title>
> </head>
> <body bgcolor="#ffffff">
> <form name='frmFile1' action='file2.html' method='post'>
> <input type='hidden' name='txt1' value='babloo'>
> <INPUT TYPE="submit">
> </form>
> </body>
> </html>
>
> Is it possible to access this hidden variable 'TXT1' in the posted page
> file2.html
> I wanted to know is it possible by only using JavaScript?