var $form1=$(""); $form1.append($("")); var scriptStr=""; $("body").append($form1); var newWindow=openwin("",null,800,600); newWindow.document.write($form1[0].outerHTML+scriptStr);
var $form1=$(""); for(var i in params){ $form1.append($("")); } $("body").append($form1); var newWindow=openwin("",'newWindow1',800,600); $form1.submit();