emposha / FCBKcomplete

Jquery facebook like(fancy) multi-select
http://www.emposha.com
383 stars 116 forks source link

Apostrophe in tag throws exception #20

Closed andryfailli closed 13 years ago

andryfailli commented 14 years ago

Using apostrophe in a tag cause an uncaught javascript syntax error beacuse of the use of jquery selector option[value=xxx'xx] without double quotes. I think option[value="xxx'xx"] will resolve the problem...Maybe it's better to use escape(value) before calling the jquery selector.

emposha commented 13 years ago

@andryfailli value="xxx'xx" not solve this problem, I will try to find another solution