Anyone have input on this? This code runs, but it doesn't seem to want to
toggle the value of the form field at all. It changes it once, then
continues using the same value.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Thursday, August 21,
$('a').click(function(){$('input[name=' + this.id+ ']').val(!$
('input[name=' + this.id+ ']').val())});//
On Aug 21, 7:02 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> I'm storing a boolean in a hidden field, and I'd like to flip it's value
> when someone clicks a link. Here's the function I'v
2 matches
Mail list logo