看板 PHP 關於我們 聯絡資訊
<form id="form1" name="form1" method="post" action=""> <input type="text" name="testText" id="testText" /> </form> <script language="JavaScript"> <!-- form1.testText.focus(); </script> ※ 引述《iversonjimmy ()》之銘言: : 想請問一下 : 每次連到某個頁面時 : 想把指標都停在一個物件上 : 就類似VB的Focus用法 : 不知道在php該怎麼使用 : 舉個例子 : 有一個text : <input type="text" name="text"> : 然後每連到那個頁面時 指標都會落在text那個欄位 : 該怎麼用呢??? : 謝謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.231.102.90
iversonjimmy:謝謝你~ 11/25 22:54