This is two questions in one, so here we go.
I have a simple code that I got from jsfiddle (at http://jsfiddle.net/tedp/aL7Xe/1/)
But it it doesn’t call the jquery function when I put it in my website (live demo at http://beattrack.net/test.php#).
Also, it is adding some funny symbols to the end of it. Is that my fault or my text editor’s? I am using textwrangler–saving as UTF-8. When I try to save to ISO Latin 9, it says there are unnamable characters–it’s happening on more than just this one webpage. Here’s a screenshot:

<html>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<style type="text/css">
#menucontainer {
display:none;
}
</style>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" />
$('html').click(function() {
$('#menucontainer').hide();
});
$('#menuwrap').click(function(event){
event.stopPropagation();
});
$('#menutoggle').click(function(event){
$('#menucontainer').toggle();
});
</script>
</head>
<body>
<div id="menuwrap">
<a href="#" id="menutoggle">Menu Toggle</a>
<ul id="menucontainer">
<li><a href="#">One</a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
</ul>
</div>
</body>
</html>
Remove the
src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"attribute from the script tag, and that should work. Make a new script tag for jquery:Also, put the second element at the end of the .
As for the strange characters, try using an HTTP header in your PHP code to specify that the page is in UTF-8. My browser is saying that the encoding for you page is ISO-8859-1, hence the strange characters.