Sign in
Log inSign up

Not able to get value that I set in previous step in text field and text area using Java Script

Bala Sivagnanam's photo
Bala Sivagnanam
·Jul 25, 2017

I am trying to set some pre-filled values for some of the text fields. When the values are set there is some animation and highlight happening in the form.

This works fine when I manually click on the text field or area and do it. But if I set the values using java script the text field/text area is not reacting to filled value. So I tried to see if the values are set and if we are able to retrieve it properly. But happens to be it is not set and retrieved. not sure what is happening.

jsbin.com/jafovog/1/edit?html,js

Adding a working JSBin as well. Thanks for help.