?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 消费者防伪查?/title> <script type="text/javascript" src="script/jquery-1.4.4.js"></script> <script src="script/fwcheck.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("#btnQuery").click(function() { var txtCode=$("#txtfw").val(); if(txtCode=="") { alert('误入防伪码!'); return false; } if(isNaN(txtCode)) { alert('输入内容只能为数?'); return false; } DoQuery(txtCode); }); $("#btnReset").click(function(){ $("#txtfw").attr("value",""); }); }); </script> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> </head> <body> <form name=""> 误入防伪码Q?input id="txtfw" type="text" maxlength="21" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" /><br /> <img id="btnQuery" width=53 height=19 border="0" src="ss_05.jpg"/>   <img id="btnReset" src="ss_07.jpg" width=53 height=19 border="0" > <div id="data" style="font-weight:bold; "></div> </form> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>