You are viewing limited content. For full access, please sign in.

Discussion

Discussion

After Form is submitted, the Thank You page does not display value

posted on December 6, 2016 • Show version history

I have a form that uses JavaScript to retrieve a value after a look up has been performed.

I am using $('.classname input').val()

However, this does not work on the 'Thank You' page. 

When I inspect the elements, the look up field is no longer an input text box, but <div><type = "text" >TEXT</div>

Could someone assist me in retrieving this text value? 

 

0 0
replied on December 8, 2016

You can use "$('.classname div[type="text"]').text()"

0 0
replied on December 9, 2016

Cool. Thank you! 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.