JavaScript大杂烩

evt.preventDefault();

evt.stopPropagation();

 

$.toJSON()

$.evalJSON()

if(typeof ext != 'string') return false;

跳出each循环需要使用return false。

绑定data不靠谱。

div不能直接绑定键盘事件,需要tabindex=0先。

猜你喜欢

转载自rudysysu.iteye.com/blog/1887919