[jQuery] Re: Having a problem with checkboxes

2009-02-02 Thread heohni
Thanks! That's solving a lot!! On 31 Jan., 17:41, Beres Botond wrote: > Yes you can use : value="{$value.ver_id}" /> > > Just modify your jquery code as well: > > var checked_status=this.checked;$("input[name^='paradigm']").each > (function(){ >                         this.checked=checked_stat

[jQuery] Re: Having a problem with checkboxes

2009-02-02 Thread heohni
Sorry, that's not working for me: $(document).ready(function(){ $("#paradigm_all").click(function(){ var checked_status=this.checked;$("input[name^='paradigm']").each (function(){ this.checked=checked_status; }); }); }); w

[jQuery] Re: Having a problem with checkboxes

2009-01-31 Thread Beres Botond
Yes you can use : 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:

[jQuery] Re: Having a problem with checkboxes

2009-01-30 Thread James
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 wrote: > Hi, > > I am using this

[jQuery] Re: Having a problem with checkboxes

2009-01-30 Thread heohni
Does it work, to write all checked id's into a hidden field? Which then gets submitted? On 30 Jan., 16:27, heohni wrote: > Hi, > > I am using this: > > > > $(document).ready(function(){ >         $("#paradigm_all").click(function(){ >                 var > checked_status=this.checked;$("inp...