How does jquery set default checklists by value
- 2020-03-30 02:22:51
- OfStack
$("#objtype option[value='{$_GET[objtype]}']").attr("selected",true);
$("#charttype option[value='{$_GET[charttype]}']").attr("selected",true);
$("#objtype option[value='{$_GET[objtype]}']").attr("selected",true);
$("#charttype option[value='{$_GET[charttype]}']").attr("selected",true);