人人人妻人人人妻人人人,99精品国产综合久久久久五月天 ,欧美白人最猛性XXXXX,日韩AV无码免费播放

News新聞

業(yè)界新聞動(dòng)態(tài)、技術(shù)前沿
Who are we?

您的位置:首頁(yè)      網(wǎng)站知識(shí)      Form提交表單頁(yè)面不跳轉(zhuǎn)

Form提交表單頁(yè)面不跳轉(zhuǎn)

標(biāo)簽: 發(fā)布日期:2014-02-19 00:00:00 1905

1、設(shè)計(jì)源碼

 

[html] view plaincopy在CODE上查看代碼片派生到我的代碼片
 
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  2. <html xmlns="http://www.w3.org/1999/xhtml">  
  3. <head>  
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  5. <title>Form提交表單頁(yè)面不跳轉(zhuǎn)</title>  
  6. </head>  
  7.   
  8. <body>  
  9.    <form action="" id="" method="post" target="id_iframe">  
  10.         <input type="text" id="input_text" name="input_text"/>  
  11.         <input type="submit" id="sobmit" name="submit" value="提交" />  
  12.    </form>  
  13.    <iframe id="id_iframe" name="id_iframe" style="display:none;"></iframe>  
  14. </body>  
  15. </html>  


2、運(yùn)行結(jié)果

 

(1)輸入“451”,單擊“提交”



(2)輸入“45464646”,單擊“提交”



頁(yè)面提交刷新,不跳轉(zhuǎn)