[jQuery] Re: .change alternative

2009-01-25 Thread LoicDuros
Hi Ram, I'm not sure what you mean. In any case, to give a little bit of background to my question. I'm using jQuery with a custom creation form in drupal and conditional fields. Fields that are hidden in the first place all appear - independently from what radio button has been selected - if you

[jQuery] Re: .change alternative

2009-01-24 Thread Ramanathan RV
It is always better to restore the form state from the server side. That way, I believe you would fail gracefully incase the browser has disabled javascript. Moreover, it prevents distortion while rendering the page. On Sun, Jan 25, 2009 at 3:10 AM, LoicDuros wrote: > > Thanks Rick, I'll try to

[jQuery] Re: .change alternative

2009-01-24 Thread LoicDuros
Thanks Rick, I'll try to use .selected! This should help a lot. Regards, Loic On Jan 24, 3:41 pm, "Rick Faircloth" wrote: > Hi, Loic... > > Check out this page about .selected.  The example given > when you follow the link is about a select input, but it seems > that it could apply to radio in

[jQuery] Re: .change alternative

2009-01-24 Thread Rick Faircloth
Hi, Loic... Check out this page about .selected. The example given when you follow the link is about a select input, but it seems that it could apply to radio inputs, as well. Rick http://docs.jquery.com/Selectors/selected > -Original Message- > From: jquery-en@googlegroups.com [mai