By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,656 Members | 920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,656 IT Pros & Developers. It's quick & easy.

Simulating a form INPUT - type IMAGE

P: n/a
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 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VK

ch*************@gmail.com 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#634aa48ba482 a5e0>

and:
<http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/27e7c70e51ff8a99/98cea9cdf065a524?q=createEvent&rnum=1#98cea9cdf065 a524>

Oct 24 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.