------------
$("#tijiao").find("input:text").val("");
$("#addmes").hide();
---------
下面两句如何写在一个函数体内,使得input清零,并且div层隐藏。
回复讨论(解决方案)
function Submit(){
$("#tijiao").find("input:text").val("");
$("#addmes").hide();
}
???
function Submit(){
$("#tijiao").find("input:text").val("");
$("#addmes").hide();
}
???
$("#addmes").hide(function () {
$("#tijiao").find("input:text").val("");
str.length = 0;
});
--------我这样写的
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn