Currently, I haven't written any perl code yet. I'm still in the planning phase. I thought it might be possible to use jQuery.get to grab the page. If not, I can use either a perl module or curl/wget. The html is really not all that exciting. It has a bunch of input checkboxes that are checked manually (via human input). No javascript involved here. After retrieving the html, I was hoping to do something like this:
<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>
and somehow pull the identifiers of the checkboxes that are checked into a perl data structure. Again, thank you for your help here.

In reply to Re^4: embed jquery in perl by Anonymous Monk
in thread embed jquery in perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.