I want to use a JQuery \"check all\" function in a form like this: http://jetlogs.org/jquery/jquery_select_all.html
My problem is I am generating my form from a php scr
Try using
$('input[name="items[]"]')
No need for @ and use ". Note that the selector outside quotes are '. Otherwise you might cause parse error.
@
"
'