$('<form/>', {action: "post.php", method: 'post'})
.append($('<input/>', {type: 'hidden', name: 'param', value: 'submitdata'}))
.appendTo(document.body)
.submit();
More than 5 years have passed since last update.
javascript(jquery)で新規フォーム作成してサブミットする
Last updated at Posted at 2014-09-09
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme