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
Post a Comment