Call the JS method:
function buildpostform (FM, URL, target) {varE =NULL, El = []; if(!FM | |!URL)returne; Target= Target | |'_blank'; E=DOCUMENT.GETELEMENTBYID (FM); if(!e) {e= Document.createelement ('Form'); E.id=FM; Document.body.appendChild (e); } E.method='Post'; E.target=Target; E.style.display='None'; E.enctype='application/x-www-form-urlencoded'; varIDX = Url.indexof ('?'); varPara = [], op = []; if(Idx >0) {para= url.substring (idx +1, Url.length). Split ('&'); URL= Url.substr (0, IDX);//intercepting URLs varKeyPair = []; for(varp =0; P < para.length; p++) {idx= Para[p].indexof ('='); if(Idx >0) {El.push ('<input type= "hidden" name= "'+ PARA[P].SUBSTR (0, IDX) +'"id=" frm'+ PARA[P].SUBSTR (0, IDX) +'"Value="'+ para[p].substring (idx +1, para[p].length) +'"/>'); } }} e.innerhtml= El.join ("'); E.action=URL; returne;}
It's done with this method of submission.
Call Method:
Buildpostform ('pay_form'_blank'). Submit ();
Window.Open opens a new blank page and does not automatically refresh the solution