php - Submit a form created in a popup window -


I have a page where I create a popup popup, but on a radio button I created on popup Clicking and clicking on a button I have to submit the form and give the feedback on the radio button using the post method on a new page. How can I get it using jquery or javascript?

Try using AJAX:

context :

  $ Ajax ({type: "POST", url: "post_page.php", data: {radio: $ ("radio_btn"). Val ()}}) done (function (msg) {warning ("done!"); });    

Comments