Can we click a link and it will submit the form to the other page?

Discussion in 'HTML' started by Matt, Sep 22, 2004.

  1. Matt

    Matt Guest

    Can we click a link and it will submit the form to the other page?
    Usually we will submit the
    form to other page by clicking a submit button.

    Now I need to do the following, but what if I have many data in the
    form? Any workarounds?
    <a href="http://myserver/index.jsp?name=test&actionType=test"
    target="_blank">Add New Document</a>

    Please advise. thanks!!
    Matt, Sep 22, 2004
    #1
    1. Advertising

  2. Matt wrote:

    > Can we click a link and it will submit the form to the other page?


    No, not without using JavaScript (and thus losing the intrinsic link-ness of
    the link).

    Use a submit button; style it to look like your links if you like.


    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
    David Dorward, Sep 22, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark
    Replies:
    1
    Views:
    1,686
  2. Charles Siegel
    Replies:
    0
    Views:
    353
    Charles Siegel
    Feb 19, 2006
  3. Benny Ng
    Replies:
    4
    Views:
    3,001
    Benny Ng
    May 23, 2006
  4. Matt
    Replies:
    2
    Views:
    102
    kaeli
    Sep 22, 2004
  5. Replies:
    3
    Views:
    662
Loading...

Share This Page