kushal33

select2 remove readonly property

Apr 13th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. //how to remove readonly property of select2 chzn select
  2. $(".chzn-select").select2('destroy');
  3. $('.reference_type-class:last').removeAttr("readOnly");
  4. $(".chzn-select").select2();
  5. $('select').select2("enable",false);
Add Comment
Please, Sign In to add comment