摘要: function citychange(obj){ var prov = document.getElementById('prov'); citysinfo.value = prov.value+obj.value;}function provchange(obj){ var city = doc 阅读全文
posted @ 2017-03-19 18:29 ATF七夜 阅读(103) 评论(0) 推荐(0)
摘要: 修改表格的小样式 $("table a").click(function(){// var otr = $(this).parent('td').parent('tr'); var otr =$(this).parents('tr'); var info=''; otr.children('td') 阅读全文
posted @ 2017-03-19 18:27 ATF七夜 阅读(278) 评论(0) 推荐(0)
摘要: function getinfo(){ // next 找兄弟元素// $("input[type='text']").val($("div").next().length); $("div").next().each(function(i){ alert(i+" "+this.innerHTML) 阅读全文
posted @ 2017-03-19 18:24 ATF七夜 阅读(249) 评论(0) 推荐(0)