jQuery
let $form = $('<form></form>');
$form.attr('action', url);
$form.attr('method', 'get');
$form.append($('<input />', { type: 'hidden', name: 'name', value: 'value' }));
$form.append('<input type="hidden" name="name" value="value" />'); -> 문자열로 append 가능
$form.appendTo('body');
$form.submit();
Javascript
let form = document.createElement('form');
form.setAttribute('action', url);
form.setAttribute('method', 'get');
let input = document.createElement('input');
input.setAttribute('type', 'hidden');
input.setAttribute('id', 'inputId');
input.setAttribute('value', 'value');
form.appendChild(input);
document.body.appendChild(form)
form.submit();