I have created a jquery script based on a post here that sets a cieling on the number of checkboxes checked. It functions perfectly in a standard html page. i'm loading it in the wp template script-loader.php and i'm wp_enqueue_script'ing it in display_form.php just after jQuery.
i get how to call it, but i'm not sure where the below script or part of it should be placed
Any help would be appreciated. Thanks Kim
jQuery.noConflict();
jQuery(document).ready(function($) {
$(':checkbox[id^=choice_]').limit(2);
});