Javascript not working....

SpaceshipSpaceship
Watch

Ray

VIP Member
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.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
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
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Zero Commission
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back