Skip to content Skip to sidebar Skip to footer

Unable To Redirect To Html Page After Inserting Form Data Into Database

$('#sub').click( function() { $.post($('#new_user').attr('action'), $('#new_user :input').serializeArray(), function(info) { $('#resul

Solution 1:

use this method to redorect

window.location = "http://www.youtube.com";

or use this in your function where you want to redirect

$(this).attr("href","http://www.youtube.com");

give your own url

Post a Comment for "Unable To Redirect To Html Page After Inserting Form Data Into Database"