Hey all,

I'm doing an ajax website. When a link outside of the affected div is clicked on, then the ajax works, but if I click on a link inside the affected div, it doesn't. Please help. My js code's below:

$(function () {
			if (window.location.hash){contentload(window.location.hash);}

			$('a').click(function() {
				fragment = this.hash;

		function contentload(fragment) {
			fragment = fragment.slice(1).replace('!', '')