I have a site with Ajax content that is dynamically loaded. I store the product to be loaded on the URL using a #product_id=xxx. The page then uses a window.onload function to call a Ajax function to load the neccessary info about the product.
The problem I have now is this.
1. If I click on a link that links to that page .. eg. product.php#product_id=1 ... It works
2. However, if I refresh or manually type in the URL .. it does not work.
3. This problem is present in chrome and firefox but surprisingly not in IE6.
BUT, when I was developing the page on my localhost server. It works. I was developing using a apache server as well as MAMP on a mac. They both work.
Any reason that the content will load on a local server but not on a remote server ? btw ... my hosting compay is bluehost.