Commit c59867f1 authored by xinyuandu's avatar xinyuandu

重置按钮

parent 7a3d840d
......@@ -48,6 +48,7 @@
<option value="2">人群图</option>-->
</select>
<span class="btn btn-info btn3 " id="search">筛选</span>
<span class="btn btn-info btn3 " id="reset">重置</span>
</div>
</form>
</td>
......
......@@ -27,10 +27,6 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
$("#search").click(function () {
picture.getList(1);
});
/*
$("#reset").click(function () {//重置
document.getElementById("form_search").reset();
});*/
$(document).on('click','.is_show',function(e){
picture.getDataByParams(e.target.dataset.id);
......@@ -63,6 +59,10 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
}
});
$('#reset').click(function(){
document.getElementById("form_search").reset();
});
//新增图片存储触发事件
$('#save').click(function(){
var yetai_str = '' ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment