|
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.
|