Parabellum1905y / ufd

Automatically exported from code.google.com/p/ufd
GNU General Public License v2.0
0 stars 0 forks source link

"write Selected in dropdownlist if i select" problem #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This plugin works well but i need when i select an item in list(li), it must 
write selected in dropdownlist selected item.
Thank you

Original issue reported on code.google.com by ati...@gmail.com on 17 Jan 2012 at 1:18

GoogleCodeExporter commented 8 years ago
Can you explain yourself in more detail?  

If you want to know which <LI> is selected, its the one with class: active.  
If you are interested in the underlying <OPTION..>,  it is correctly set 
already, and can be read in any of the usual JS ways.

I wonder if you are asking for the <OPTION> to get the attribute 
selected="selected" set each time a change occurs.  This doesn't hapen on a 
native select, so doesn't happen here.  The attribute is only read and used on 
DOM load/parse.

If I haven't covered your issue, please respond with more detail, ideally 
example code :)

Original comment by thetoolman on 21 May 2012 at 4:21