Please refer to my first question by this link, thanks to @A.V for helpfulness,
The script which provided is work great in fact, but there is an issue in the giving name for option value
and optgroup
, please go http://jsfiddle.net/NZ6tY/7/ for more specific action, group 1-1 is working nice with option value and optgroup label without space, comma or slash, where the rest is unworkable, can anyone please give a solution? I must having a long text in the option value and optgroup label as necessary info.
Thanks.