2015年10月26日

摘要: JQuery对象转换为DOM对象的方法: JQuery方法alert(input.val()); 使用索引,index:alert(input[0],value); 使用get(index)的方法:alert(input.get(0).value); DOM对象转换为JQuery对象的方法: DOM方法:alert(input.value); 转换的方法直接用$()包一下就行了:alert($(i... 阅读全文

posted @ 2015-10-26 23:00 Luca_LJX 阅读(100) 评论(0) 推荐(0)