$.ajax({
            url: "SearchSN.aspx",
            data: "SN=" + $("#txtStorageSN").val(),
            cache: false,
            success: function (html) {
                $("#showResult").empty();
                $("#showResult").append(html);
                $("#showResult").css("color", "red");
            }

        });

 

页面:<div ></div>

 

$("#showResult").empty();//清除div内容(Div内容是通过aspx页面进行动态添加的,需要先清除div内容)

转载声明:http://blog.csdn.net/yingying0708/article/details/38584023  

相关文章:

  • 2021-12-20
  • 2021-10-27
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-07-14
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-01-02
  • 2021-11-06
  • 2021-05-22
  • 2022-12-23
  • 2021-09-26
  • 2021-08-02
相关资源
相似解决方案