document.writeln(""); function reltell() { g_pop_a = new Popup({ contentType: 1, isHaveTitle: true,// 是否有标题 scrollType: "no",// 弹出内容里是否有滚动条 isBackgroundCanClick: false,// 背景层是否能够点击 isSupportDraging: true,// 是否能够拖动窗口 isShowShadow: true,// 是否显示窗口阴影 isReloadOnClose: false,//关闭窗口是否重新加载父页面 width: 530,// 窗口宽 height: 350// 窗口高 }); g_pop_a.setContent("title", "400-免费电话");//设置窗口标题名称 g_pop_a.setContent("contentUrl", "http://manage.infocall.cn:6005/Login.aspx?Type=1&&Number400=4000391661&&Pwd=9D4ED31CADA5A608186AD742E5D5FC1F&&ShortNum=87688800000");// 设置窗口内容 g_pop_a.build(); g_pop_a.show(); } function initEnroll(popupId){ $("#" + popupId).find("span.error").html(""); $("#" + popupId).fadeIn(); var type = ""; var message = ""; switch (popupId){ case "open-zixun" : // 开盘通知 type = "OPEN_ZIXUN"; message = "楼盘资讯"; break; default : ; } } function gfxqclose(){ $(".apply-popup").hide(); } function addly(){ if($.trim($("#zx_xingming").val()).length == 0){ alert('输入您的姓名!'); return false; } var phone = $("#zx_shouji").val(); if(!(/^1[2345789]\d{9}$/.test(phone))){ alert('您的手机号格式不正确!'); return false; } $.ajax({ type: "POST",//方法类型 dataType: "html",//预期服务器返回的数据类型 url: "/e/enews/index.php" ,//url data: $('#lpzxform').serialize(), success: function (result) { console.log(result);//打印服务端返回的数据(调试用) var message = $('b',result).text(); if (message == '信息反馈成功!') { alert(message); $('#lpzxform')[0].reset(); $(".apply-popup").hide(); }else{ alert(message); }; }, error : function() { alert("异常!"); } }); } document.write("