I am using dragend and it is working fine on the first page, then i load another page using $.mobile.changePage() method, the page which is loaded, dragend is not working there.
I am calling it with the method:
$("#gallery").dragend();
When i looked into the issue, on second page it doesn't add classes to UL which contains all the swiping elements/
Below is structure of my block which contains dragend:
One
Two
Three
Four
Please let me know how can i make it work in above scenario.
I am using dragend and it is working fine on the first page, then i load another page using $.mobile.changePage() method, the page which is loaded, dragend is not working there. I am calling it with the method: $("#gallery").dragend();
When i looked into the issue, on second page it doesn't add classes to UL which contains all the swiping elements/
Below is structure of my block which contains dragend:
Please let me know how can i make it work in above scenario.