this is killing me. It works fine with IE but nothing with Firefox. Can anyone help please
it should grab text from klm2 and the response should print to klm3
it should grab text from klm2 and the response should print to klm3
Code:
<script>
function PostOrder()
{
var done1;
var xmlhttp = new XMLHttpRequest(); strPOSTURL="http://localhost/server/MYDLL.asp"
xmlhttp.Open("POST", strPOSTURL, false);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.Send(document.getElementById("klm2").value);
done1=xmlhttp.responseText;
document.getElementById("klm3").value=done1.replace(/<(?:.|\n)*?>/gm, '');
}
</script> <textarea name=klm3 id="klm2" rows=10 cols=115>THIS IS A TEST<br> <textarea name=klm3 id="klm3" rows=25 cols=115>
Comment