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 condition
$("#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
wrote:
> hi all ,
> am wa
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 Y
>
> 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
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 ena
5 matches
Mail list logo