PDA

View Full Version : Form submit in popup window?



.:.:jjm261:.:.
05-08-2009, 03:45 PM
Hey,

I'm wanting to submit a form to a popup window, probably with JavaScript, how can this be done?

Thanks

John

BoyBetterKnow
05-08-2009, 03:47 PM
Hey,

I'm wanting to submit a form to a popup window, probably with JavaScript, how can this be done?

Thanks

John

Well if you want to post it then use jQuery POST and make a function like

function sendForm(){

var blah = field etc then post

popupwindowcode here.

}


<form onsubmit="sendForm"> or do as onclick for submit button.

Want to hide these adverts? Register an account for free!