Dynadot โ€” .com Registration $8.99

Javascript not working....

Spaceship Spaceship
Watch
Impact
167
My javascript on my site doesnt seem to be working write. When its not in a page it doesnt work, but when it isnt, it works fine. It worked before, but it just seemed to stop workin last week.

this is the java code
<script type="text/javascript">
<!--
function delayer(){
document.location = "members.php?page=messagebox"
}
//-->
</script>

no help?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
i copied it directly into a new html document and called it from a button and it works fine for me, are you sure theres not a problem somewhere else on the page?...


Code:
<head>
<script type="text/javascript">
<!--
function delayer(){
document.location = "http://www.ballamness.info/site2"
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onclick="delayer()">
</form>
</body>
 
Last edited:
0
•••
postive.... it just dont want to work with php now
 
0
•••
so what exactly is the problem, do you get any error messages? or does nothing happen at all?
 
0
•••
nothin happens at all from the javascript down... the java dont even load, even when its out of the php brackets.
 
0
•••
<script type="text/javascript">
document.location.href = "address.com";
</script>
 
0
•••
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back