Jquery .append() Json Data In A Jquery Mobile List Adding Duplicates When Page Is Refreshed?
I need help. I can't find my mistake. For some reason I get duplicate li when I append a ul. I created an AJAX search that searches for results upon keyup. The problem is that when
Solution 1:
I had that issue once where I cleared the results on page hide. I'm not sure what version of JQueryMobile you're using, but I had this issue in 1.0. The ajax event doesn't seem to destroy the page on pagehide, so I had to remove the elements on pagehide. I don't know if this helps.
Post a Comment for "Jquery .append() Json Data In A Jquery Mobile List Adding Duplicates When Page Is Refreshed?"