I have a form with multiple SharePoint fields set as "currency". How do I put a currency field value into a variable? I've tried several version, such as:
var txt01TotCash = $("input[id='Total_x0020_Cash__2abd298c-4fee-401a-b51a-d48afd27a395_$CurrencyField']").text();
and
var txt01TotCash = $("input[id='Total_x0020_Cash__2abd298c-4fee-401a-b51a-d48afd27a395_$CurrencyField']").val();
and
var txt01TotCash = $("input[title='Total Cash']").val();
The error I get is val is not a function
or text is not a function
.
Any ideas?
Thanks!