[jQuery] Re: Enable Submit button

2009-06-15 Thread bharani kumar
hi all , am waiting for the good reply for my thread, This is one of very urgent snippet , Thanks On Sun, Jun 14, 2009 at 11:15 PM, bharani kumar bharanikumariyer...@gmail.com wrote: Hi All , This is my form ,When user click the *YES and checked the check *box then only i want to enable

[jQuery] Re: Enable Submit button

2009-06-15 Thread Steven Yang
maybe try something like this $(#yesBut, #condBut).click(function(){ if($(#yesBut).is(:checked) $(condBut).is(:checked)) { $(#SubmitCard).removeAttr(disabled); } else { $(#SubmitCard).attr(disabled, disabled); } }) i am not too sure of my syntax and stuff, but hopefully

[jQuery] Re: Enable Submit button

2009-06-15 Thread bharani kumar
Assume if we give condition like this ,*$(#yesBut, #condBut).click(function(){});* Then it assumes like when ever two elements are clicked at same time know , So i this one is Error on , Even i tried but am not get anything , You tried this snippet On Mon, Jun 15, 2009 at 12:50 PM, Steven

[jQuery] Re: Enable Submit button

2009-06-15 Thread veeru
$(#SubmitCard).removeAttr('disabled') this you can write to the event listener of both checkbox and the button. Check for satisfying conditions in both. HTH Veera You can write an event listener to both checkbox and the YES button On Jun 15, 11:06 am, bharani kumar

[jQuery] Re: Enable Submit button

2009-06-15 Thread Charlie
this does not mean click both at same time, it is standard method of applying function to more than one selector and applies to *any* selector individually look at examples http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN bharani kumar wrote: Assume if we give