I have a series of radio buttons with values of either 1 or 0.
I'd like to write a jQ script which sets all o values (unapproved) to 1
(approved). I thought that one of these two would do it:
$("[EMAIL PROTECTED]@checked]").val(1);
$('[EMAIL PROTECTED]').val('1');
in the following context:
$('.approve').click(function() {
$("[EMAIL PROTECTED]@checked]").val(1);
// $('[EMAIL PROTECTED]').val('1');
return false;
});
i know that I'm getting inside the click function, but for some reason it
doesn't seem to be setting the values correctly. Anyone have an idea?
____________________________________
Andy Matthews
Senior Coldfusion DeveloperOffice: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com <http://www.dealerskins.com/>
attc21f7.bmp
Description: Windows bitmap
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
