LoginSignup
17
21

More than 5 years have passed since last update.

javascript(jquery)で新規フォーム作成してサブミットする

Last updated at Posted at 2014-09-09
$('<form/>', {action: "post.php", method: 'post'})
.append($('<input/>', {type: 'hidden', name: 'param', value: 'submitdata'}))
.appendTo(document.body)
.submit();
17
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
17
21