DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4

Thread: Querystring

  1. #1
    rahul Guest

    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

  2. #2
    Arey Guest

    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



  3. #3
    rahul Guest

    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

    >



  4. #4
    Arey Guest

    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

    >>

    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links