Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i also tried :
but i am getting 0 even when it is checked...<input type="checkbox" name="cb" value="1"> has 'cb'; // and where you i need the 0/1 checkbox value simply use the $.cb my $cb01 = $.cb ? 1 : 0;
another question
how do i pass a jquery variable (cb) to a perl variable ($cb)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Mason2 jquery get the value of a checkbox
by Ralesk (Pilgrim) on May 30, 2012 at 22:26 UTC | |
by Anonymous Monk on May 30, 2012 at 23:00 UTC | |
by Ralesk (Pilgrim) on May 30, 2012 at 23:15 UTC |