Simulating a form INPUT - type IMAGE

Discussion in 'Javascript' started by champ.supernova@gmail.com, Oct 24, 2005.

  1. Guest

    Hi,

    I have a form which has a few different submit links, all of type
    image. This is critcal to the operation of the form, as it relies on
    the image co-ords being passed to another page, the processing of which
    is handled by someone else.

    What I need to do though, is to have a text link which simulates one of
    these image inputs being clicked, as some kind on onclick event.
    However, I've hit a brick wall looking for example code of how to do
    this - can anyone help by advising me how I can simulate, in code, the
    clicking of an INPUT IMAGE button? (I have no control over the master
    input type, it HAS to be an image, so I'm not able to look at a
    solution using another input type.)

    Thank you in advance!
    , Oct 24, 2005
    #1
    1. Advertising

  2. VK Guest

    wrote:
    > Hi,
    >
    > I have a form which has a few different submit links, all of type
    > image. This is critcal to the operation of the form, as it relies on
    > the image co-ords being passed to another page, the processing of which
    > is handled by someone else.
    >
    > What I need to do though, is to have a text link which simulates one of
    > these image inputs being clicked, as some kind on onclick event.
    > However, I've hit a brick wall looking for example code of how to do
    > this - can anyone help by advising me how I can simulate, in code, the
    > clicking of an INPUT IMAGE button? (I have no control over the master
    > input type, it HAS to be an image, so I'm not able to look at a
    > solution using another input type.)
    >
    > Thank you in advance!


    see:
    <http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/2602a35ef4a14ac1/634aa48ba482a5e0?q=createEvent&rnum=3#634aa48ba482a5e0>

    and:
    <http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/27e7c70e51ff8a99/98cea9cdf065a524?q=createEvent&rnum=1#98cea9cdf065a524>
    VK, Oct 24, 2005
    #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. Barb
    Replies:
    1
    Views:
    360
    Thomas Matthews
    Oct 9, 2003
  2. Replies:
    2
    Views:
    594
    James Kanze
    Jul 20, 2007
  3. Ryan Mohr
    Replies:
    8
    Views:
    231
    Jesse Jurman
    Jun 17, 2010
  4. fochie
    Replies:
    0
    Views:
    302
    fochie
    Feb 1, 2005
  5. Brandon Spiteri

    SPI; simulating an input (rx)

    Brandon Spiteri, May 1, 2014, in forum: VHDL
    Replies:
    8
    Views:
    129
Loading...

Share This Page