I am an novice. In this case, i don't know why the value of
id "title" cannot pass to function,update. I need you
function update(title,message){
var xmlHttp;
var url="process.php?Name[color=Blue]="+title[/color]+"&Message="+message;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlHttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlHttp.onreadystatechange=function()
{
if (xmlHttp.readyState==4 && xmlHttp.status==200)
{
document.getElementById("txtUpdate").innerHTML=xmlHttp.responseText;
}
}
xmlHttp.open("GET",url,true);
xmlHttp.send();
}
Main
| num |
Put your Message Here! |
|