我在網(wǎng)頁(yè)中有一個(gè)文本框,我希望當(dāng)用戶在其中鍵入內(nèi)容時(shí),不刷新就顯示它。我的php文件從用戶獲取數(shù)據(jù)并顯示它:<?php $text = $_GET['text']; echo $text;?>和html文件:<form method="Get"> <input type="text" name="text"></form>用戶輸入時(shí)如何使它鍵入$ text。
- 2 回答
- 0 關(guān)注
- 144 瀏覽
添加回答
舉報(bào)
0/150
提交
取消