I'm using jquery Ajax function to process a user login in a jquery pop up modal. Simplemodal. The script posts the username and password then displays the out come in a hidden div using jquery .show function. The question is in my login script it posts data back fine but how can I redirect the user if there login is successful. Normally I would use a php header but that doesn't reload tr close the modal popup just loads the header into the popup.
Can anyone help.
Thanks