Store Client ID in JavaScript variable not defiend

  • 26 December 2017
  • 2 replies
  • 17 views

Badge

this issue is when i set variable to field there are no changes in field render and also the javacript get error variable undefiend . 211796_pastedImage_1.png

then when alert the value using alert( NWF$("#" + varStartDate)).

211797_pastedImage_2.png

211798_pastedImage_3.png


2 replies

Userlevel 6
Badge +16

If you want to show the value, you should use >>> alert( NWF$("#" + varStartDate).val())

Badge +9

Just tested this out, and Fernando Hunth‌ is correct. I used console.log, but it should not be any different using alert();

console.log(NWF$('#' + varStartDate).val());

Reply