I am trying to call a PHP page with XmlHttpRequest (AJAX). My problem is that I have jQuery (javascript) included in my PHP page like this:
<script language="javascript" src="jquery.js"></script>
<script language="javascript">
// my jquery code here
</script>
When I call the PHP page with XmlHttpRequest it fails! That is, the response only shows the PHP content but jQuery is not working! When I access that PHP page directly it works.
So, how can I fix this problem?