LinkedNestBlog

[jQuery] selectbox option 초기화

by jinwon lee

[jQuery] selectbox option 초기화 


 
- Reference

jQuery remove SELECT options based on another SELECT selected (Need support for all browsers) : 

http://stackoverflow.com/questions/1275383/jquery-remove-select-options-based-on-another-select-selected-need-support-for

- Solution(Code)

$(select).empty().data('options');