octopuscreative/FancySelect — pull request #31 by b1nj (2014-01-16 20:26:06+00:00)
Title: use .attr() to prevent the automatic type conversion

When value of select start from starts from a 0 (exemple
) the FancySelect don't work.
From the jQuery data() documentation http://api.jquery.com/data/#data2, it appears that you have to use .attr() to prevent the automatic type conversion.

"To retrieve the value's attribute as a string without any attempt to convert it, use the attr() method."