newbie redirect question with ajax |
[eluser]gloosemo[/eluser]
i'm trying to redirect from within a controller to a different page, recinput2. redirect('recinput2', 'location'); when i run this in a controller function called login that is called via ajax, i get the response in ajax and i can view the page in firebug but the page itself does not change in the browser. How can i get the webpage to change in the browser in response to an ajax call? BTW The ajax call is made with jQuery Code: var username = $('#username').val();
[eluser]CroNiX[/eluser]
Code: success: function(data) { Edit: The forum filters it out. it's window[dot]location = the url http://www.tizag.com/javascriptT/javascriptredirect.php |
Welcome Guest, Not a member yet? Register Sign In |