首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Ajax >

servlet ajax 校验后盾用户

2013-11-06 
servlet ajax 校验后台用户function subAjax(){?function subAjax(){?? ? ? ?$.post(dataelement.do?type

servlet ajax 校验后台用户

function subAjax(){

?

function subAjax(){?

? ? ? ?$.post("dataelement.do?type=queryById&exportSfCardId="+encodeURI(encodeURI($("#exportSfCardId").val() ) ),

? ? ? ?function(wjy){ ?

? ? ? ?if(wjy==1){ ?

? ? ? ? ? ? ? ?alert("您输入的身份证号已存在!"); ?

? ? ? ? ? ?}?

? ? ? ? ? ?

? ? ? ?}); ?

? ?} ?

后台是servlet 用?if (srt.getResult().equals("1"))?

{?

PrintWriter out = response.getWriter();

out.println("1");

? ? ? ?out.flush();

? ? ? ?out.close();

}?

?

热点排行