in reply to Re^3: embed jquery in perl
in thread embed jquery in perl
and somehow pull the identifiers of the checkboxes that are checked into a perl data structure. Again, thank you for your help here.<form> <div> <input type="checkbox" name="fruit" value="orange" id="orange"> <label for="orange">orange</label> </div> <div> <input type="checkbox" name="fruit" value="apple" id="apple"> <label for="apple">apple</label> </div> <div> <input type="checkbox" name="fruit" value="banana" id="banana"> <label for="banana">banana</label> </div> <div id="log"></div> </form> <script> $( "input" ).on( "click", function() { $( "#log" ).html( $( "input:checked" ).val() + " is checked!" ); }); </script>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: embed jquery in perl
by marto (Cardinal) on Jan 02, 2014 at 16:44 UTC |