View Full Version : send 3 data from one page to another page through Ajax.Request

03-24-2009, 11:26 AM
I am facing some problem with this when i am trying to sent the data in krnlAddComment1.asp page and there is only an insert query exists. after run the query successfully, response.write "...." revert back to me

if ((myname != null) && (comm != null) && (captcha1 == randomnum))
var url='/bc/krnlAddComment1.asp?ID=' + <%=request("ID")%>& +'comment2='+comm+'&name='+myname;
new Ajax.Request(url,
onSuccess: function(transport){
var response = transport.responseText ;
alert("Success! \n\n" + response);
onFailure: function(){ alert('Something went wrong...') }


03-24-2009, 11:43 AM
Please follow http://www.codingforums.com/postguide.htm

1) Do not cross post your question in multiple forum categories- When posting, there is no excuse to post the same question in multiple categories in hopes of getting a quicker response. This is called spamming, and can get you banned. Choose one category that best accommodates your question, and post it there, once. If you're following up on a question, reply to the original thread, not start a new one! Everyone here is volunteering their time to help out others. The least you can do is make their jobs easier and less confusing.