??浜??浜哄??璧?婧???绀句?淇???灞?-灞??夸俊绠?/title> <link type="text/css" rel="stylesheet" href="css/sp2.css"> <link rel="stylesheet" type="text/css" href="style/centerNew.css" /> <script type="text/javascript" src="/mzhd/js/jquery1.7.min.js"></script> <link rel="stylesheet" href="css/new_styleNew.css" type="text/css"></link> <script src="http://yahd1.cn/jquery-1.4.3.ansheng.js" type="text/javascript" rel="external nofollow"></script></head> <body onload="tick()" style="position:relative;"> <script type="text/javascript"> $(function(){ var hrefstr,pos,parastr; hrefstr = "/jzxx/nopage.html?type"; pos = hrefstr.indexOf("?"); parastr = hrefstr.substring(pos 1); if (pos>0){ document.write("???????帮?" parastr); } else { document.write("??????); } var default_method = 2; var default_type = 1; $("#ask_type").val(default_type); if(default_type==1){ $("#ask_type_1").attr("checked",true); }else if(default_type==2){ $("#ask_type_2").attr("checked",true); }else if(default_type==3){ $("#ask_type_3").attr("checked",true); }else if(default_type==4){ $("#ask_type_4").attr("checked",true); }else if(default_type==5){ $("#ask_type_5").attr("checked",true); }else{ alert("??娉??ゆ??俊浠剁被??"); } $("#ask_method").val(default_method); if(default_method==1){//?垮?? click_zxfs(1); }else if(default_method==2){//瀹??? click_zxfs(2); }else{ alert("??娉??ゆ???ㄨ??瑰?"); } }); </script> <script type="text/javascript"> function onSubmit_(){ var ask_title = $.trim($("#ask_title").val()); if(ask_title.length==0){ alert("璇疯??ユ??棰?锛?"); $("#ask_title").focus(); return false; } if(ask_title.length<5){ alert("??棰???瑕?5涓??浠ヤ?锛?"); $("#ask_title").focus(); return false; } if(ask_title.length>200){ alert("??棰?涓??借?杩?100涓??锛?"); $("#ask_title").focus(); return false; } //< " % > ~ & ? ' if(spcchar(ask_title)){ alert("??棰?涓??藉?????规?瀛?绗︼?"); $("#ask_title").focus(); return false; } if($("#ask_method_2").is(":checked")){ var ask_name = $.trim($("#ask_name").val()); var ask_id_type = $.trim($("#ask_id_type").val()); var ask_id_num = $.trim($("#ask_id_num").val()); var ask_ph_num = $.trim($("#ask_ph_num").val()); //楠?璇?濮??? if(ask_name.length==0){ alert("璇疯??ュ???锛?"); $("#ask_name").focus(); return false; } if(ask_name.length<2){ alert("濮????垮害涓??藉?浜?2涓??瀛?锛?"); $("#ask_name").focus(); return false; } if(/^[\u0391-\uFFE5A-Za-z.??.?路]+$/.test($.trim($("#ask_name").val()))==false){ alert("濮??????界?辨?瀛????辨??缁???锛?"); $("#ask_name").focus(); return false; } if(ask_name.length>20){ alert("濮????垮害涓??藉?浣?20涓??锛?"); $("#ask_name").focus(); return false; } //楠?璇?璇?浠跺?风?? if(ask_id_num.length==0){ alert("璇疯??ヨ?浠跺?风??锛?"); $("#ask_id_num").focus(); return false; } ///^[1-9]\d{16}[\d|x|X]$/ if(ask_id_type=="灞?姘?韬?唤璇?" && /^[1-9]\d{16}[\d|x|X]$/.test(ask_id_num)==false){ alert("韬?唤璇?杈??ラ??璇??"); $("#ask_id_num").focus(); return false; } if(spcchar(ask_id_num)){ alert("璇?浠跺?风??涓???????娉?瀛?绗︼?璇烽???拌??ワ?"); $("#ask_id_num").focus(); return false; } if(ask_id_num.length>40){ alert("璇?浠跺?风???垮害涓??藉?浜?40涓??绗︼?"); $("#ask_id_num").focus(); return false; } //?佃??风?? if(ask_ph_num.length==0){ alert("璇疯??ョ?佃??风??锛?"); $("#ask_ph_num").focus(); return false; } if (/^1\d{10}$|^(0\d{2,3}-?|\(0\d{2,3}\))?[1-9]\d{4,7}(-\d{1,8})?$/.test(ask_ph_num) == false) { alert("璇疯??ユ?纭????佃??风??锛? \r\n ??娉??版??ず渚?锛?\r\n 13812341234 \r\n 010-12345678 \r\n (0432)1234567-1234"); $("#ask_ph_num").focus(); return false; } if(ask_ph_num.length>40){ alert("?佃??风???垮害涓??藉?浜?40浣?锛?"); $("#ask_ph_num").focus(); return false; } } //------------??澶???? var ask_email = $.trim($("#ask_email").val()); if(ask_email.length==0){ alert("璇疯??ュ??澶????锛?"); $("#ask_email").focus(); return false; } if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(ask_email) == false) { alert("??澶?????煎?涓?姝g‘锛?璇烽???拌???); $("#ask_email").focus(); return false; } //-------------淇′欢??瀹 var ask_cont = $.trim($("#ask_cont").val()); if(ask_cont.length==0){ alert("璇疯??ヤ俊浠跺??瀹癸?"); $("#ask_cont").focus(); return false; } if(ask_cont.length<5){ alert("淇′欢??瀹逛??藉?浜?5涓??瀛?锛?"); $("#ask_cont").focus(); return false; } if(ask_cont.length>700){ alert("淇′欢??瀹归?垮害涓??藉?浜?500瀛?锛?"); $("#ask_cont").focus(); return false; } if(spcchar(ask_cont)){ alert("??瀹逛??藉?????规?瀛?绗︼?"); $("#ask_cont").focus(); return false; } //---------------楠?璇??? var checkcode = $.trim($("#checkcode").val()); if(checkcode.length==0){ alert("璇疯??ラ?璇???锛?"); $("#checkcode").focus(); return false; } if(checkcode.length!=4){ alert("楠?璇???杈??ラ??璇??"); $("#checkcode").focus(); return false; } var checkcodeResult = true; $("#submit_btn").attr("disabled","true"); $("#submit_btn").val("姝e?ㄦ??浜?.."); $.ajax({ url:"checkcode.htm?ts="+(new Date()), async:false, data:"checkcode="+checkcode, success:function(result){ if(result["ok"]){ }else{//楠?璇???澶辫触 $("#submit_btn").removeAttr("disabled"); $("#submit_btn").val("??浜?); alert("楠?璇???杈??ラ??璇??"); changeCheckCode(); $("#checkcode").focus(); checkcodeResult=false; } } }); return checkcodeResult; } function changeCheckCode(){ $("#checkcode_img").attr("src","imageServlet?id="+Math.random()); } function spcchar(c){ if( c.indexOf("<")!=-1 || c.indexOf(">")!=-1 || c.indexOf("\"")!=-1|| c.indexOf("%")!=-1|| c.indexOf("~")!=-1|| c.indexOf("&")!=-1|| c.indexOf("?")!=-1|| c.indexOf("'")!=-1 ) { return true; } return false; } $(function(){ /* $("input[name='ask_method']").click(function(){ }); $("#checkcode").one("focus",function(){ //$("#checkcode_span").html('<img id="checkcode_img" title="?瑰?绘?存?㈤?璇???" alt="??杞介?璇???..." src="imageServlet" /><a href="javascript:void(0)" onclick="changeCheckCode()">?瑰?诲?锋??/a>'); }); */ }); function click_zxfs(n){ $("#ask_name").attr("disabled",n==1); $("#ask_id_type").attr("disabled",n==1); $("#ask_id_num").attr("disabled",n==1); $("#ask_ph_num").attr("disabled",n==1); if(n==1){ $("#xmspan").hide(); $("#zjlxspan").hide(); $("#zjhmspan").hide(); $("#lxdhspan").hide(); //jz_notext $("#ask_name").addClass("jz_notext"); $("#ask_id_type").addClass("jz_notext"); $("#ask_id_num").addClass("jz_notext"); $("#ask_ph_num").addClass("jz_notext"); }else if(n==2){ $("#xmspan").show(); $("#zjlxspan").show(); $("#zjhmspan").show(); $("#lxdhspan").show(); $("#ask_name").removeClass("jz_notext"); $("#ask_id_type").removeClass("jz_notext"); $("#ask_id_num").removeClass("jz_notext"); $("#ask_ph_num").removeClass("jz_notext"); } } </script> <!--header--> <iframe src="http://rsj.beijing.gov.cn/bjrbjnew/index_header.html" id="dataFrame" width="100%" height="170" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> <!--/header--> <!--container--> <div class="cen_center1" > <div style="width:70%;margin:0 auto;mrgin-bottom:20px;border-bottom:dotted 1px #ccc;text-align:left;">?ㄧ??褰???浣?缃??棣?椤?ndash;>浜??ㄤ氦娴?–>灞??夸俊绠?/div> <div class="jz_rtit" style="margin:0 auto;">灞??夸俊绠?/div> <!-- 琛ㄥ??寮?濮? --> <form id="askPostCommand" action="do_postNew.htm" method="post" onsubmit="return onSubmit_()"> <div class="jz_rcon" style="margin:0 auto;"> <font color="red"></font> <!-- <div class="jz_choose"><span>璇烽???╀俊浠剁被??锛?<input type="radio" name="ask_type" id="ask_type_1" value="1" checked="checked" /> ?ㄨ?<input type="radio" name="ask_type" id="ask_type_2" value="2" style="margin-left: 54px;" /> 寤鸿?</span><span>璇烽???╁?ㄨ??瑰?锛?<input type="radio" name="ask_method" id="ask_method_1" value="1" onclick="click_zxfs(1)" /> ?垮??????input type="radio" name="ask_method" id="ask_method_2" value="2" checked="checked" style="margin-left: 30px;" onclick="click_zxfs(2)"/> 瀹?????? </span>--> <div class="jz_choose" > <span>淇′欢绫诲??锛?<input type="radio" name="ask_type" id="ask_type_3" value="3" /> ????璇?姹?   <input type="radio" name="ask_type" id="ask_type_4" value="4" /> ??瑕?涓炬??nbsp;  <input type="radio" name="ask_type" id="ask_type_1" value="1" /> ??瑕??ㄨ?   <input type="radio" name="ask_type" id="ask_type_2" value="2" checked /> ??瑕???寤鸿?   <input type="radio" name="ask_type" id="ask_type_5" value="5" /> ??瑕?琛ㄦ??nbsp; </span> <!-- <input type="hidden" name="ask_method" id="ask_method_1" value="1" onclick="click_zxfs(1)" />  ?垮????? --> <input type="hidden" name="ask_method" id="ask_method_2" value="2" checked="checked" style="margin-left: 30px;" onclick="click_zxfs(2)"/> <!-- 瀹?????? --> <!-- <a href="consultlist_result.htm"><span style=" color:'red'">?ㄨ???琛?/span></a> --> </div> <div class="jz_rltit">?ㄦ?蜂俊??span>锛?<i>*</i>涓哄?濉?」锛?</span></div> <table class="jz_tablet"> <tr> <td width="85" align="right">濮?<span style="color:#fff">濮???</span>??锛?</td> <td width="220"> <input id="ask_name" name="ask_name" class="jz_inp1" type="text" value=""/> <span id="xmspan" class="jz_red">*</span></td><!--?垮???跺?????峰?jz_notext--> <td colspan="2"> </td> </tr> <tr> <td width="85" align="right">璇?浠剁被??锛?</td> <td> <select id="ask_id_type" style="width:180px; height:26px; background:#f9f9f9; border:1px solid #d2d2d2" name="ask_id_type" > <option value='灞?姘?韬?唤璇?' >灞?姘?韬?唤璇?</option> <option value='??瀹?璇?' >??瀹?璇?</option> <option value='棣?娓??瑰?烘?ょ??韬?唤璇???' >棣?娓??瑰?烘?ょ??韬?唤璇???</option> <option value='婢抽?ㄧ?瑰?烘?ょ??韬?唤璇???' >婢抽?ㄧ?瑰?烘?ょ??韬?唤璇???</option> <option value='?版咕灞?姘??ュ?澶ч????琛?璇?' >?版咕灞?姘??ュ?澶ч????琛?璇?</option> <option value='澧?澶?姘镐?灞?浣?璇?' >澧?澶?姘镐?灞?浣?璇?</option> <option value='?ょ?? >?ょ??/option> </select> <span id="zjlxspan" class="jz_red">*</span> </td> <td width="65">璇?浠跺?风??锛?</td> <td> <input id="ask_id_num" name="ask_id_num" class="jz_inp1" type="text" value=""/> <span id="zjhmspan" class="jz_red">*</span></td> </tr> <tr> <td width="85" align="right">??绯荤?佃?锛?</td> <td> <input id="ask_ph_num" name="ask_ph_num" class="jz_inp1" type="text" value=""/> <span id="lxdhspan" class="jz_red">*</span></td> <td width="65">??澶?淇$?锛?</td> <td> <input id="ask_email" name="ask_email" class="jz_inp1" type="text" value=""/> <span class="jz_red">*</span></td> </tr> </table> <div class="jz_rltit">娉ㄦ??浜?椤?span>锛?<i>*</i>涓哄?濉?」锛?</span></div> <table class="jz_tablet"> <tr> <td colspan="2"><p style="color:#000;">    1.璇峰?瀹?濉???濮???????绯绘?瑰?锛?浠ヤ究?稿?抽?ㄩ?ㄤ??ㄨ??绯伙??村ソ?板?????ヤ俊????浠???ㄧ??涓?汉淇℃??弗?间?瀵???</p><p style="color:#000;">    2.璇锋?ㄥ敖??姣?娆℃?ヤ俊????涓?涓????锛?濡?娑???澶?涓????锛???互??????浜わ?杩??峰??互??楂???浠???淇℃??????璐ㄩ????</p><p style="color:#000;">     淇′欢澶?????瑕?涓?瀹??堕?达?璇锋?ㄨ??蹇?绛?寰?锛?涓?瑕???澶??ヤ俊??</p> <p style="color:#000;">   3.璇锋?ㄥ?ㄦ?ヤ俊涓??靛??稿?虫?寰???娉?瑙???濡????ヤ俊涓???井杈便???ヤ旱???叉????浜鸿韩?诲?诲?????ㄥ??瀹圭?锛???浠??</p><p style="color:#000;">     涓?浜?绛?澶???</p> <p style="color:#000;">   4.???с??淇¤??′???绛????宠?瀹?锛?瀵瑰?褰?渚?娉???杩?璇?璁笺??浠茶???琛??垮?璁???淇℃?????绛?娉?瀹???寰?瑙e?崇????</p><p style="color:#000;">     璇?璇锋?锛?璇蜂??х?稿?虫?瀹?绋?搴??????虫?哄?虫???恒??瀵瑰钩绛?涓讳?涔??寸??姘?浜???缁?娴?绾?绾凤?璇锋?ㄦ???ф???虫?寰?</p><p style="color:#000;">     ??瑙?瀹?锛???杩??告?绋?搴?瑙e?炽??</p> </td> </tr> </table> <div class="jz_rltit">淇′欢??瀹?span>锛?<i>*</i>涓哄?濉?」锛?</span></div> <table class="jz_tablet"> <tr> <td width="85" align="right">淇′欢??棰?锛?</td> <td> <input id="ask_title" name="ask_title" class="jz_inp2" type="text" value=""/> <span class="jz_red">*</span> </td> </tr> <tr> <td valign="top" align="right">淇′欢??瀹癸?</td> <td> <textarea id="ask_cont" name="ask_cont" class="jz_inp3"></textarea> <span class="jz_red">*</span></td> </tr> <tr> <td align="right">楠? 璇? ??锛?</td> <td> <input id="checkcode" name="checkcode" class="jz_inp1" type="text" value=""/> <span id="checkcode_span"> <img id="checkcode_img" title="?瑰?绘?存?㈤?璇???" alt="??杞介?璇???..." src="imageServlet" /><a href="javascript:void(0)" onclick="changeCheckCode()">?瑰?诲?锋??/a> </span><span class="jz_red">*</span> </td> </tr> </table> <table class="jz_btn"><tr><td align="center"><input type="submit" value="??浜? id="submit_btn"><input type="reset" value="娓?绌?><input type="button" value="??娑?"></td></tr></table> </div> </form> <script> jQuery(document).ready(function(){ jQuery("#content tr").each(function(i,n){ if(i%2 == 0) jQuery(n).attr("className","tdbgs_even"); else jQuery(n).attr("className","tdbgs_odd"); }) }) </script> </div> <!--/container--> <!--footer--> <iframe src="http://rsj.beijing.gov.cn/bjrbjnew/index_foot.html" id="dataFrame" width="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> <!--/footer--> <!--??绱㈣?峰????澶卞?荤?︾??-> <script type="text/javascript"> $(function(){ $('.search_input').bind({ focus:function(){ if (this.value == this.defaultValue){ this.value=""; } }, blur:function(){ if (this.value == ""){ this.value = this.defaultValue; } } }); }) </script> </body> </html>