mysql - PHP save form values in one tab and automatically open next tab -


i want create multiple tabs separate forms in them. when save form in first tab should save values in database , closes current tab , opens next tab.

answers highly appreciated.

you can use ajax post request save data , in success can write js open tab. code goes sth this:

$.ajax({      type: "post",      url: "",//your php code make save      success: function(msg){         //here write script open tab      }  }) 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -