I am stuck in a strange problem. The code I am using is working fine in one page but it is not working for another page. I tried everything I could, I even changed the document header to match the page which is working but none is working for me. And then I created a fresh page and typed only the coding that passing the content, but it didn't work in the new page too. I am totally confused and don't know what to do.
Code:
<head>
<script type="text/javascript">
$(document).ready(function(){
$('#bill2').load('http://website.com/fare.html #bill2')
})
</script>
</head>
<body>
<fieldset id="bill2">
</fieldset>
</body>
This code works in one page and not working in another, please tell me am I missing something?