Dropdown can not disable

Hi Field Type use Dropdown I want to disable this dropdown, so write a method onFormPopulated event. Method Code: var sel_imie = $('select[name="_list"]'); sel_imie.prop('disabled', true); Chrome version 63.0.3239.108 first on load  can not disable, but refresh page can disable. Try IE 11 can disable I don't know why chrome first on load can't.      
Parents
  • Hi Michelle, You only need to pass in the name of the function as an argument to setTimeout. Please see the example below.
    var innovator = document.thisItem.getInnovator();
    setTimeout(myFunction, 100);
    function myFunction()
    {
    var sel_imie = $(‘select[name=”_list”]’);
    sel_imie.prop(‘disabled’, true);
    }
    Chris _________________________________ Christopher Gillis Aras Labs Software Engineer
Reply
  • Hi Michelle, You only need to pass in the name of the function as an argument to setTimeout. Please see the example below.
    var innovator = document.thisItem.getInnovator();
    setTimeout(myFunction, 100);
    function myFunction()
    {
    var sel_imie = $(‘select[name=”_list”]’);
    sel_imie.prop(‘disabled’, true);
    }
    Chris _________________________________ Christopher Gillis Aras Labs Software Engineer
Children
No Data