Text Area form control - Change Label value from Javascript
Hello,
Is it possible to set the label value for a Text Area Control by Javascript ?
If yes, how to do that please ?
KR
-
Hi Tobias,
I'm doing a test with a text area control and it doesn't work.
I have the following syntax in JS: $('[controlholdername="IndicarActividadSub"]').find("span")[0].textContent="My new Label";
IndicarActividadSub -> is the internal name
I get error in console Cannot set properties of undefined (setting 'textContent'

If I do console.log($('[controlholdername="IndicarActividadSub"]').find("span")[0]); a mark undefined.
Attached textArea structure

Thnks
Dani Oliva
サインインしてコメントを残してください。
コメント
4件のコメント