$(".btn").click(function(){
var url = 'test.test/test';
var form = $("form");
var target = '타이틀 제목';
window.open(url, target, "width=500,height=500,resizable=yes,toolbar=yes,menubar=yes,location=yes");
form.attr('action', url);
form.attr('target', target); // window.open 타이틀과 매칭 되어야함
form.attr('method', 'post');
form.append('<input type="text" name="mb_id" value="foo">'); // 동적으로 값을 추가할때
form.submit();
});
