I have created a web app with jQuery Mobile and included a map using Cloudmade Leaflet. The map has markers generated from coordinates in a database. With each marker is a description of the item and a link that is displayed in a popup when the marker is clicked. All that is working fine. The link accesses a php file that requests more information from the database about the item.
The problem I have is when the link within the popup is clicked, instead of using the jQuery transition to display the page with more information the link forces the browser to open and displays the content in there.
I presume there is some problem with jQuery Mobile seeing the link and applying the ajax loading and transition when it is clicked.
Does anyone know if this is possible and what needs to be done to make it work properly?