¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I need to have a select2 item disabled when the page loads, and I'm using this line in tablename-dv.js file:
Code: Select all
$j('#Sel2-container').select2('enable', false);
Thnaks,
Labib
Code: Select all
$j('#Sel2-container').select2('enable', false);
Code: Select all
$j('#Sel2-container').prop('readonly', true);