469,621 Members | 1,755 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

Simulating a form INPUT - type IMAGE

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
1 1559
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.

Similar topics

4 posts views Thread by Nomen Nescio | last post: by
4 posts views Thread by sameergn | last post: by
3 posts views Thread by Wojtek | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.