cancel
Showing results for 
Search instead for 
Did you mean: 
dhayanandkalimi
Nintex Newbie

How to set default value some option in drop down list look up using JQuery or Javascript

Jump to solution

Hi Team,

Is there any way to set some option value to list look up using Jquery or javascript.

Note: This should not always 0 - NA. But some cases i have to set 1 - Internal Fraud.

Labels: (2)
0 Kudos
Reply
1 Reply
joseph_cervi
Nintex Newbie

Re: How to set default value some option in drop down list look up using JQuery or Javascript

Jump to solution

This should do it for you.  This code populates the default value with the selectedindex.  Change the index to the specific option number you want.  

var JS_ControlName_X = JS_ControlName.replace('_hid',"");

NWF$('#'+JS_ControlName_X).prop('selectedIndex',0);

NWF$('#'+JS_ControlName_X).trigger("change");

View solution in original post

Reply