Hi,
I am making a page which contains a form. When I submit the form, I dont want to check the response, instead directly navigate to another page with $_POST usable in the new page.
Code:
fs.getForm().submit({
method:'POST',
url: 'authentication.php',
success:function(){
Ext.Msg.alert('Status', 'Arbit Message', function(btn, text){
//url : 'searching.php'
if (btn == 'ok'){
var redirect = 'searching.php';
window.location = redirect;
}
});
},
In the above code, I want the authentication.php to open in the current window, rather than just checking the response and then do something OR pass the $_POST variables to "searchin.php".
Please help.
/Tany