[jQuery] Targetting a Specific Submit Button

[jQuery] Targetting a Specific Submit Button


Hi, my code basically replaces the contents of a div with a form field.
How do I target a specific submit button? For instance if you have 4
editable regions and you load them all I believe when you click submit it
wants to submit them all and not the one associated with the div you are in.
I target it like so:
$("input[@type=submit]").click(function () {
Can I make it speiocifically target the $(this) submit button, should this
code directly target said button and actually my problem is elsewhere (the
problem being one click sometimes seems to actuate x number of clicks)?
Because it's in a plugin and working on return this.each() I would of
thought that it does target the specific submit as the functions are made
for each div in question??
Thanks
Simon
--
View this message in context: http://www.nabble.com/Targetting-a-Specific-Submit-Button-tf2790534.html#a7785574
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/