tuupola / jquery_chained

Chained Selects for jQuery and Zepto
https://appelsiini.net/projects/chained/
589 stars 283 forks source link

2.x - Force parse as String #67

Closed callumstrubi closed 6 years ago

callumstrubi commented 6 years ago

I understand this is borderline abandonware, but by wrapping the var data with String(); you can prevent errors caused by integer based values in the options:

line 77 var data = String($(this).data("chained"));