AnsweredAssumed Answered

Client id in javascript variable is undefined using jquery

Question asked by jdirosa7 on Aug 23, 2016
Latest reply on Aug 25, 2016 by achilles.aditya

I have a textarea control and i'm trying to set its value through a javascript button, but when i try to access it using NWF$('#' + textarea).value("Hello"), i'm getting an error saying 'textarea' is undefined. 'textarea' is my client id javascript variable set it on the textarea control. The error i get it when i use the IE console executing the javascript code.





What am i doing wrong?


Thanks in advance!