how to transfer the control during success: of jquery to html form

ywusernameo32

New Member
I'm using following jquery statements to validate the user details.\[code\] $.ajax({ type: "POST", url: "Login", data:'uname='+encodeURIComponent(uname)+'&'+'pass='+encodeURIComponent(pass), dataType: "json", //if received a response from the server success: function( data, textStatus, jqXHR) { if(data=http://stackoverflow.com/questions/14562653/=true) { $("#error").show(1500).css({visibility: "visible"}); $("#error").append("<b>success!</b>"); }\[/code\]but i nee to transfer the control to other html page during success.\[code\]$("#error").show(1500).css({visibility: "visible"});$("#error").append("<b>success!</b>");\[/code\]I'm trying to change the above statements to transfer the control. Please anyone help me to solve this.
 
Back
Top