Author: Gredesh | Posted on: 10/7/2008 10:09:44 PM | Views : 401

Hello, I just wrote my first javascript, it saves the state of my search parameters to a users cookies. So far I have it only doing it for the checkboxes, but now I need to get it working for drop down lists, which is proving to be much more difficult.
I figured out to use onchange instead of onclick, but what I'm lacking now, is the ability to pass the selection chosen, to the javascript, so I can record which option was selected. Here is my current code. The javascript is meant for checkboxes, I know i'll need to add logic for the drop down lists, but i'm confident I can figure that out if I can just get the information passed to the javascript. Thanks for any help in advance.
 
<asp:DropDownList ID="ddlMinLotAcrage" runat="server" Width= Go to the complete details ...