Yes you can use : <input type="checkbox" name="paradigm[]" value="{$value.ver_id}" />
Just modify your jquery code as well: var checked_status=this.checked;$("input[name^='paradigm']").each (function(){ this.checked=checked_status; }); http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue On Jan 31, 12:48 am, James <james.gp....@gmail.com> wrote: > Which version of Jquery are you using? > From version 1.3 on has the @ in selectors deprecated, so the > following is not valid anymore: > $("inp...@name=paradigm]") > > Just remove the @. > > http://docs.jquery.com/Release:jQuery_1.3#Upgrading > > On Jan 30, 5:27 am, heohni <heidi.anselstet...@consultingteam.de> > wrote: > > > Hi, > > > I am using this: > > > <input type="checkbox" name="paradigm" value="{$value.ver_id}" /> > > > $(document).ready(function(){ > > $("#paradigm_all").click(function(){ > > var > > checked_status=this.checked;$("inp...@name=paradigm]").each > > (function(){ > > this.checked=checked_status; > > }); > > }); > > > }); > > > to check and uncheck a list of articles. > > Now I want to sumbit the checked articles, but I don't know how to do > > that. > > > I can't use <input type="checkbox" name="paradigm[]" > > value="{$value.ver_id}" /> > > as then the jquery doesn#t work anymore. > > > But how can I transfer all checked Id's to the next page? > > Any help? > > > Thanks a bunch!