Hello to all I using the cascade plugin in 3 dropdowns and it works fine, but in some ocasions I need to pre selected the values because the user is editing the previous recorded selections.
I manage to selected the value of the first dropdown with the following code: $('#chained [value=1').attr('selected','selected').parent().change(); but how can I selected the second one and the third? I tried this: <script type="text/javascript"> function startDrops() { $('#chained [value=1]').attr('selected','selected').parent().change (); $('#chained_child [value=3]').attr('selected','selected').parent ().change(); } </script> ... <body onload="Javascript:startDrops();"> But it didn't work.. How can I do it? Thanks