Created
November 29, 2010 19:20
-
-
Save lukemorton/720405 to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html> | |
<head> | |
<title>Testing post values of display:none;</title> | |
</head> | |
<body> | |
<pre><?php var_dump($_POST) ?></pre> | |
<form method="post"> | |
<input type="hidden" name="hidden-display-block" value="1" /> | |
<input type="hidden" name="hidden-display-none" value="2" style="display:none;" /> | |
<input type="text" name="text-display-block" value="3" /> | |
<input type="text" name="text-display-none" value="4" style="display:none;" /> | |
<input type="submit" name="option" value="Submit with value" /> | |
<input type="submit" /> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment