我想重複發送用戶名和密碼的值到php
腳本。我該怎麼做呢 ?就像將這些值發送到動作腳本一樣,我們使用submit
按鈕,但是如何將這些值自動發送到腳本並且這些值會持續太久?將值連續發送到動作腳本。怎麼做?
<form method="post" action="processor.php">
<input type="username" value="suhail" />
<input type="password" value="secret_code" />
<input type="submit" />
</form>
使用JavaScript。 – Florent
@Florent你可以請告訴如何? –
一個解決方案是使用'setTimeout()'使JavaScript無限循環。 – Vucko