Hi everyone,
I'm doing some work with jquery and I'm getting stuck on how to get values from a form in my jquery... I have this form element below and want to get the value of this into a javascript variable.
<inputdata-val="true" data-val-required="You must provide a rental address" id="Rental.RenAddress_48391" name="Rental.RenAddress" onBlur="javascript:codeAddress(48391);" style="width:130px;" type="text" value="x" />
I've tried doing this but I keep getting object undefined errors:
var address = $('input[id=Rental.RenAddress_' + 48391 + ']'); can anybody see why this isn't working??James :-)
1 reply to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top










