[jQuery] select by onclick text

[jQuery] select by onclick text


I am trying to select all submit, or image buttons on my form that contain a
javascript confirm function. The following seem to both return the same
thing, any hints?
$('form :image')
-returns all image buttons, as expected
$('form :image[@onclick :contains("confirm")]')
-also returns all image buttons, even those who's onclick event does not
contain 'confirm'
--
View this message in context: http://www.nabble.com/select-by-onclick-text-tf4117850s15494.html#a11710434
Sent from the JQuery mailing list archive at Nabble.com.