Re: [jQuery] Need help converting conventional code to jquery

2009-12-14 Thread Leonardo K
function togglePassFail(radioName) { var buttonGrp = document.getElementsByName(radioName); var radioValue = $(buttonGrp).filter(':checked').val(); var detailDiv = $(buttonGrp).eq(0).parent().next(); if ( radioValue == 'p' ){ detailDiv.hide(); }else{ detailDiv.sh

[jQuery] Need help converting conventional code to jquery

2009-12-13 Thread Ibatex
Hi all, I'm new here and new to jquery in general. Question is how can I do the following in jquery, I'd like to have access to jqueries effects and animations. function togglePassFail(radioName) { var buttonGrp = document.getElementsByName(radioName); var radioValue; //