I\'m having the same issue as this user here. I can\'t comment on the post and it\'s been almost 6 years since the post. The only answer is this:
var val = $(\'te