Quick questions...trying to use JQuery and Spring MVC forms and it seems when I get the value of a form:hidden type I get the past and current values. Here is the simple code but I am trying to figure out is I need to parse this...

jquery code
var transferType = $("#hiddentransfertype").val();

spring form MVC
<form:hidden id="hiddentransfertype" path="transferType"/>

I get the following in the transferType P,P.....the orignal value and the form value??? not sure if that is the way it is or is there a different call besides val()???

thanks in advance for any help