Menu
Please help me with this code. When I try to run it nothing appears
[CODE]<script type=”text/javascript”>
var local=document.loaction;
if (local.indexOf(“.html”)=! -1)
{
document.write(“This page has a .html extension!”);
}
else
{
document.write(“Other extension”);
}
</script>
Thanks!!