Javascript not working....

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
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
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back