var query = "companyname=" + companyname + "&Address1=" +address1 ; query+= "&Address2=" + address2 + "&Area=" + area+ "&city="+city +"&code="+code; query+= "&Province="+Province +"&fullname="+fullname+"&surname="+surname+"&email="+email +"&pass="+pass+"&number="+contacts+"&choice="+usertype; alert(query); $.ajax({ type :"POST", url :"inc/functions.php?action=newagent", data : query, success: function(data){ if (data =='Success'){ //setTimeout('proceed()',5000); alert("Success using Jquery"); } }});
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)