Complete change in how you get the value using jQuery.