-
Querystring
I have the following code to load an asp using the query string method.
How can I do the posting(using query string method) when I click on the submit
button placed in a table cell?
<td> <A target=_blank href="DataBrowseBAK2.asp?item= <%=rs.fields(0).value
%>" ><% = field.value %></A></td>
<TD> <INPUT TYPE=submit onclick="?????" image="ADDROW.ICO" VALUE=""> </TD>
Thanks,
Rahul
-
Re: Querystring
<a> hyperlink will alone can do your job.. if user clicks on the hyperlink
its opens the file mentioned in HREF..and you can access the parameters passed
along with the filename using querystring..
"rahul" <rahul@mailt.com> wrote:
>
>I have the following code to load an asp using the query string method.
>
>How can I do the posting(using query string method) when I click on the
submit
>button placed in a table cell?
>
><td> <A target=_blank href="DataBrowseBAK2.asp?item= <%=rs.fields(0).value
>%>" ><% = field.value %></A></td>
>
><TD> <INPUT TYPE=submit onclick="?????" image="ADDROW.ICO" VALUE=""> </TD>
>
>Thanks,
>Rahul
-
Re: Querystring
Arey, I need the same to be done from a button also. Is there any way to do
so?
Thanks
"Arey" <i_bofors@yahoo.com> wrote:
>
><a> hyperlink will alone can do your job.. if user clicks on the hyperlink
>its opens the file mentioned in HREF..and you can access the parameters
passed
>along with the filename using querystring..
>
>"rahul" <rahul@mailt.com> wrote:
>>
>>I have the following code to load an asp using the query string method.
>
>>
>>How can I do the posting(using query string method) when I click on the
>submit
>>button placed in a table cell?
>>
>><td> <A target=_blank href="DataBrowseBAK2.asp?item= <%=rs.fields(0).value
>>%>" ><% = field.value %></A></td>
>>
>><TD> <INPUT TYPE=submit onclick="?????" image="ADDROW.ICO" VALUE=""> </TD>
>>
>>Thanks,
>>Rahul
>
-
Re: Querystring
onclick="yourfunc()"
function yourfunc()
{
document.yourform.action="DataBrowseBAK2.asp?item=<%=rs.fields(0).value%>"
document.yourform.method="get"
document.yourform.submit
}
hope this helps...
"rahul" <rahul@mailt.com> wrote:
>
>Arey, I need the same to be done from a button also. Is there any way to
do
>so?
>
>Thanks
>
>"Arey" <i_bofors@yahoo.com> wrote:
>>
>><a> hyperlink will alone can do your job.. if user clicks on the hyperlink
>>its opens the file mentioned in HREF..and you can access the parameters
>passed
>>along with the filename using querystring..
>>
>>"rahul" <rahul@mailt.com> wrote:
>>>
>>>I have the following code to load an asp using the query string method.
>>
>>>
>>>How can I do the posting(using query string method) when I click on the
>>submit
>>>button placed in a table cell?
>>>
>>><td> <A target=_blank href="DataBrowseBAK2.asp?item= <%=rs.fields(0).value
>>>%>" ><% = field.value %></A></td>
>>>
>>><TD> <INPUT TYPE=submit onclick="?????" image="ADDROW.ICO" VALUE=""> </TD>
>>>
>>>Thanks,
>>>Rahul
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks