View Single Post
Old 05-12-2012, 06:13 AM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,455
Thanks: 0
Thanked 498 Times in 490 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
You need to pass all the checkboxes to the server and then build the extra code onto the query there. There's no point doing anything with JavaScript as anything that you do in JavaScript would just replicate what you need server side for it to work for those with JavaScript turned off. JavaScript can only provide enhanced functioning for those with it enabled and in this situation there is nothing to enhance.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote