Hello
Take a look at this code
What I want how can I disable the button "Go" after I'd clicked on it.PHP Code:<?php
if ($v == "1") {
--"ACTIONS WHICH I WANT TO DO"--
exit();
}
echo "<form action=file.php method=post>";
echo "<input type=hidden name=v value=1>";
echo "<input type=submit value=Go>";
echo "</form>";
?>
I know it needs JS, how can I do it by JS?




Reply With Quote