-
-
Save hughfdjackson/1300010 to your computer and use it in GitHub Desktop.
usman - usman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<form action="form.php" method="post"> | |
<input type="submit" id="submit1" name="submit1" value="Click Me1" onclick="document.getElementbyId("submit1").value=itworks1"> | |
<br /> | |
<input type="submit" id="submit2" name="submit2" value="Click Me2" onclick="document.getElementbyId("submit2").value=itworks2"> | |
<br /> | |
<input type="submit" id="submit3" name="submit3" value="Click Me3" onclick="document.getElementbyId("submit3").value=itworks3"> | |
<br /> | |
</form> | |
<script type="application/javascript"> | |
(function(){ | |
// insert values with php | |
var form_data = ['hello', 'there', 'honey'] | |
})() | |
</script> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment