Hello guys! I created a website. I tested it on my computer it works when I transfer it to the host it won't work now :( here's the code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 5.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>NeverlastingRO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<link rel="stylesheet" type="text/css" href="ceres.css">
        <script src="jquery.js" type="text/javascript"></script>
        <script type="text/javascript">
	 $(document).ready(function()
	 {
			$('a#homeAnchor').click(function()
												  {
													  $('.fordownload,.forinformation,.fordonate').hide();
													 $('.forhome').show('slow'); 
												  })
			$('a#downloadAnchor').click(function()
												  {
													  $('.forhome,.forinformation,.fordonate').hide();
													 $('.fordownload').show('slow'); 
												  })
			$('a#informationAnchor').click(function()
												  {
													  $('.forhome,.fordownload,.fordonate').hide();
													 $('.forinformation,').show('slow'); 
												  })
			$('a#donateAnchor').click(function()
												  {
													  $('.forhome,.forinformation,.fordownload').hide();
													 $('.fordonate').show('slow'); 
												  })
	 });


</script>

Then the code at the href's are here

<a  href="#" id="homeAnchor"><div id="home"></div></a>
etc.

THANKS ALOT FOR HELPING MEEEE..!!

Check out the !DOCTYPE.

I'm not too sure what browsers will make of a div inside an anchor. That's a block element inside an inline element!

Anchor inside div is far more logical and will be reliably rendered by user agents (browsers).

Airshow

Check out the !DOCTYPE.

I'm not too sure what browsers will make of a div inside an anchor. That's a block element inside an inline element!

Anchor inside div is far more logical and will be reliably rendered by user agents (browsers).

Airshow

I changes the doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

But still no luck. :(

Can you provide a URL?

Mmm, same here - it works locally but not from the web.

All I can suggest is to clear the php warnings and see if the jQuery then behaves properly.

Airshow

The file jquery.js appears to be incomplete. Try re-uploading it.

Airshow