jquery 基础知识总结
$('span[price] input[type=text]') :拿取下面的input元素
??<span price="3">
??????<input type="text" name="imperial.quantity" disabled="disabled" value="1"/>
??</span>
$('div',$(this).parents('div:first')):拿取该div的上(至少都是父节点)的第一个div节点
$('~ span:first',this): locates the first sibling of this that’s a <span> element.
延迟加载js文件——$.getScript
例子:??
??
jquery数组处理:??
?