Created
October 30, 2014 11:52
-
-
Save wireframeslayout/41f34bce10aa5bdb2121 to your computer and use it in GitHub Desktop.
formを作成してpostする
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
var json = { | |
test: "test" | |
} | |
json = JSON.stringify(json); | |
var form = "<form action='' method='post'>"; | |
form += "<input type='hidden' name='json' value='" + json +"' />"; | |
form += "</form>"; | |
$("#wrap").append(form); | |
from.submit(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment