Was debugging some code that was broken due to jquery 1.6 update, and found this call for Jquery dropdown.val

Not working anymore but a simple fix of changing it to

This does the trick, for more on prop take a look at the api of jquery http://api.jquery.com/prop/