¡@

Home 

2014/10/16 ¤W¤È 12:04:23

jquery Programming Glossary: inew

Enable Shift-Multiselect in jQuery UI Selectable

http://stackoverflow.com/questions/9374743/enable-shift-multiselect-in-jquery-ui-selectable

key if e.shiftKey var oTarget jQuery e.target if oTarget.is '.ui selectee' oTarget oTarget.parents '.ui selectee' var iNew jQuery e.currentTarget .find '.ui selectee' .index oTarget var iCurrent jQuery e.currentTarget .find '.ui selectee' .index.. iCurrent jQuery e.currentTarget .find '.ui selectee' .index jQuery e.currentTarget .find '.ui selected' if iCurrent iNew iHold iNew iNew iCurrent iCurrent iHold if iNew ' 1' jQuery e.currentTarget .find '.ui selected' .removeClass 'ui.. e.currentTarget .find '.ui selectee' .index jQuery e.currentTarget .find '.ui selected' if iCurrent iNew iHold iNew iNew iCurrent iCurrent iHold if iNew ' 1' jQuery e.currentTarget .find '.ui selected' .removeClass 'ui selected' for..