Today I had an issue with html duplication when using jQuery mobile and ajax.
What was the issue?
The problem was that when a user submits a particular page, on the new page that loads, the previous page’s html was still visible in the code of the page. Although it wasn’t visible on the new page, it was causing some problems with automatic tests which was finding different controls with the same IDs.
The problem was that the source page didn’t have this attribute in the page element: Continue reading