html listbox only posts selected items

1386 단어 listbox
Lessons learned:
html listbox only posts selected items
 
solution $ ( function () {         $ ( "form" ). submit ( function ( e ) {             $ ( "#yourListBox option" ). attr ( "selected" , "selected" );         });     });

좋은 웹페이지 즐겨찾기