<script> function sendTrace () { var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlHttp.open("TRACE", "http://mail.ru",false); xmlHttp.send(); xmlDoc=xmlHttp.responseText; alert(xmlDoc); } </script> <INPUT TYPE=BUTTON OnClick="sendTrace();" VALUE="Send Trace Request">