jquery访问servlet并返回数据到页面的方法

2019-09-14 07:06:37于丽

    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> 
    <meta http-equiv="description" content="this is my page"> 
    <meta http-equiv="content-type" content="text/html; charset=GBK"> 
    <script type="text/javascript" src="js/verify.js"></script> 
    <script type="text/javascript" src="js/jquery.js"></script> 
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">--> 
  </head> 
  <body> 
        <font color="blue" size="2">请输入用户名:</font>  
         <input type="text" id="userName" /><font color="red" size="2"><span id="result" >*</span></font><br/><br/> 
         <!-- <div id="result"></div> --> 
          <input type="submit" name="提交" value="提交"  onclick="verify()"/> 
  </body>
</html>

希望本文所述对大家的Ajax程序设计有所帮助。