|
|
Hello,
Will some help me with this.
http://www.site.com/upload.html?dirname=abc
How to get this querystring value into the HTML form with javascript.
<tr valign=top>
<td width=30% align=right><b><font face="arial" size=-1>Directory Name:</font></b></td>
<td width=70%><font face="arial" size=-1>
<input name="dirname" size=30>
</font></td>
</tr>
I want to get this querystring and put it into this <input name="dirname" size=30>
Thanks in advance.
|
|
|
|
hi shadow4,
you need to consider using ASP language to get querystring value. currently, IIS can execute ASP.
refer below :-
path : http://www.yoursite.com/test.asp?name=shadow4
in your test.asp files :-
<%
name = Request.QueryString("name")
%>
<input name="dirname" value=<%=name%> size=30>
good luck.
|
|
|
|
|
|
|
|
|
|