derekpcollins/jquery-custom-select-menu — pull request #19 by mleavitt (2013-08-08 05:11:20+00:00)
Title: Fixed issue #18: An error is returned if there is no option given with n...

...o value

The val method of `newHiddenInput` was being called before defining the object. This was an issue when your first option element specified a value or you set a `selected` attribute on one of your option elements. This fixes issue #18.