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.
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"]');
The reason it worked for me is the original post said multiline text box - not a rich text box. That makes sense.
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 =
I tried below code to get value from single line of text box and update the same value in some other text box on radio button click event
but it's not working for me. can you please give suggestions.
var rad = NWF$('#' + mychoice123);
var strMyRadioButtonValue = NWF$('#'+mychoice123).find("input:checked").val();
alert('came inside if condition');
var PhoneOffice = NWF$('#'+PhoneOffice).val();
it's going inside if condition and triggering alert but not getting value of text box. Frank FieldVadim TabakmanEuan GambleJan Eyres
Glad to hear it!
I am trying to focus on rich text box but is is not working for it. However it is working for single line of text box...
why when I use IF Condition with single line of text ( this single line of text get his data from another control through java script) if condition not working correctly???
Retrieving data ...