Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Javascript not working....

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
postive.... it just dont want to work with php now
 
0
Close
so what exactly is the problem, do you get any error messages? or does nothing happen at all?
 
0
Close
nothin happens at all from the javascript down... the java dont even load, even when its out of the php brackets.
 
0
Close
<script type="text/javascript">
document.location.href = "address.com";
</script>
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back