Page 1 of 1

clicking on image

Posted: Mon Aug 24, 2009 11:09 pm
by naeem084
hi....

for submitting a form i need to click on the image and i dnt know how to do that... need help

Re: clicking on image

Posted: Mon Aug 24, 2009 11:15 pm
by jackpf

Code: Select all

<input type="image" src="whatever.jpg" />

Re: clicking on image

Posted: Tue Aug 25, 2009 12:09 am
by naeem084
yeah thats fine but if i click on the image how could it submit my form like submit button submitting a fom

Re: clicking on image

Posted: Tue Aug 25, 2009 12:43 am
by requinix
Oh, well, in that case

Code: Select all

<input type="image" src="whatever.jpg" />

Re: clicking on image

Posted: Tue Aug 25, 2009 12:49 am
by jackpf
naeem084 wrote:yeah thats fine but if i click on the image how could it submit my form like submit button submitting a fom
It does. Idk how you're using it, but that's what it does.
tasairis wrote:Oh, well, in that case

Code: Select all

<input type="image" src="whatever.jpg" />
And lol, what? That's exactly what I put :P

Re: clicking on image

Posted: Tue Aug 25, 2009 1:47 am
by requinix
jackpf wrote:And lol, what? That's exactly what I put :P
Precisely my point :D