¡@

Home 

2014/10/16 ¤W¤È 12:07:58

jquery Programming Glossary: sctfieldmain.clientid

get current text <select>

http://stackoverflow.com/questions/5297778/get-current-text-select

id sctFieldMain option option select Script xml .find FieldMain .each function var value this .find 'Title' .text '# sctFieldMain.ClientID ' . append option option . attr value value . text value alert # sctFieldMain.ClientID option selected .text this retrun.. this .find 'Title' .text '# sctFieldMain.ClientID ' . append option option . attr value value . text value alert # sctFieldMain.ClientID option selected .text this retrun sctFieldMain.ClientID or alert # sctFieldMain.ClientID option selected .val this retrun.. . append option option . attr value value . text value alert # sctFieldMain.ClientID option selected .text this retrun sctFieldMain.ClientID or alert # sctFieldMain.ClientID option selected .val this retrun undefined or alert # sctFieldMain.ClientID option selected..