Link to home
Create AccountLog in
Avatar of Rozamunda
Rozamunda

asked on

Jquery dropdownchecklist - how to retrieve multiple selection

Hi,

I have  dropdownchecklist widget defined:
      $("#s1").dropdownchecklist({ width: 50});

on my <select> :
 <select id="s1" name = "seldc" onChange="this.form.submit()" >               
           {HTML_options options = $cdoptions  selected = $selcd}            
                </select>                            

(I am using Smarty templates)

Now how to intercept the selections invoke the main php script with new searching criteria?
Any code snippets please ?
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Rozamunda
Rozamunda

ASKER

Sorry, I don't have  a form. I Pasted wrong select.

Now the question is should I have a seperate submit button to start my action script or
can I trigger when the last checkbox is clicked. Should I use  href and build parameter list ?