Created
June 12, 2012 17:41
-
-
Save TravelingTechGuy/2918963 to your computer and use it in GitHub Desktop.
Post values to an HTML page using jQuery
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
( | |
$("<form/>",{"action":"index.php","method":"post"}).append( | |
$("<input/>", {"type":"hidden", "name":"logout", "value":"1"}) | |
) | |
).submit(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment