I am able to update single textbox using NWF$('#'+ varTitle).val("Message"); method, but it doesn't work on Multi Line Texbox
Anyone can help?
Thank you in advance.
Solved! Go to Solution.
The query looks correct, but are you sure the ID of the textarea is correctly defined by #+ varTitle? Sometimes they have unique IDs. For each control on the form you can assign a unique CSS class. I've used the class to find the control using NWF$(.myclass).val("MyValue").
Let us know what you find!
That code works perfectly well with normal single line text box but no on a rich text box.
I managed to figure out a way to populate text to a rich text box as follow:
var txtArea = NWF$('#'+ varInventorytxt).closest('tr').find('div[id$="_inplacerte"]');
I tried using the suggestion given by mike. But it didn't work.
But it didn't apply the value.
I want the multiline text box to get the value set automatically based on the click on a radio button
But it should allow the users to change the value.
Currently I am able to set the value based on the radio button. But on "save" button user entered value gets reset.
var varRdb= NWF$("#"+myRdbtn);
var strMyRadioButtonValue =