2012-08-30 138 views

回答

0

HTML:

 

<form action="..." method="post" onsubmit="target_popup(this)"> 

</form> 
 

的Javascript:

 
function target_popup(form) { 
    window.open('', 'formpopup', 'width=400,height=400,resizeable,scrollbars'); 
    form.target = 'formpopup'; 
} 
+0

我曾經嘗試過,但它不是我working.I的submiting在Javascript中以「document.forms [」myForm「]。submit();」現在我必須提交這個表單,並且這個表單應該彈出。 –