[jQuery] Re: Looking for help with a small jquery project by a noob

2008-06-17 Thread Ariel Flesler
$(document).ready(function(){ var $checks = $("input[name=myradiobutton]"), $field = $("#txtfld"); $checks.click(function(){ var value = $checks.filter(':checked').attr('value'); $field[ value == "r2" ? "show" : "hide" ](); }); }); The change event works oddly on IE, so this sh

[jQuery] Re: Looking for help with a small jquery project by a noob

2008-06-17 Thread The Gorf
Does anyone have any input on this please? It would be very helpful. I'm still very stuck. -Geoff On Jun 13, 5:48 pm, The Gorf <[EMAIL PROTECTED]> wrote: > Greetings all. I am trying to add some jquery code to a few modules I > am developing in Drupal 5.x. I'm struggling to get up to speed wi