How to read a value of multi line text box using the javascript. NWF$


Badge +4

How to read a value of multi line text box using the JQuery. NWF$

I tired the below:

var varjsMultiLine= NWF$('#' + jsMultiLine).val();

But on Custom Javascipt handler it always return empty values. for the varjsMultLine

Help;


5 replies

Userlevel 5
Badge +14

it should work

205249_pastedImage_1.png

what's the event you want to read it on?

Userlevel 6
Badge +16

Could you share your form?

Badge +4

this works well only when havin multi line as plain text type. not as Rich text box.

Badge +4

This works for plain text multi line textbox.

Userlevel 5
Badge +14

you haven't mentioned you want it for reach text  ...

for reach text following should work

note however, it will include all the HTML formatting tags, not just plain text.

NWF$('#'+txtbox).parent().siblings('input').val()

Reply