user4441 user4441 - 6 months ago 3x
HTML Question

after insert data in database not able to redirect to html page?

$("#rec").click( function() {
$.post($("#ne").attr("action"), $("#ne :input").serializeArray(), function(info) {

$("#ne").submit(function() {
return false;

is the id of the HTML form and
is the id of a span tag in the same page as the form, i am not able to redirect after inserting record ?


use this method to redirect

window.location = "";

or use this in your function where you want to redirect


give your own url