AnsweredAssumed Answered

Is this javascript correct?

Question asked by sojanm on Aug 14, 2016
Latest reply on Aug 15, 2016 by emha

Hi

 

Is this statement correct

 

var yourControl = NWF$("#"+ jvarCtl);

var value = yourControl.find("option:contains[title='" + CtlValue + "']").attr("value");

 

Basically the idea is to find a part of the text in the dropdown list and set that value to the control.

 

Thanks

Outcomes