civilgb

Get innerHTML from element by ClientID variable

Discussion created by civilgb on Dec 7, 2018

I set for an element MultiLine Textbox ClinetID variable and I'm trying to get inner HTML text from that control. But functions 

var txtTitle = NWF$('#' + MAAgreementClientID).find('div').innerHTML;

and

var txtTitle = NWF$('#' + MAAgreementClientID).text();

return me empty strings. 

How Can I get inner HTML text from control MultiLine Textbox by JavaScript function?

Outcomes