I’m working ona responsive web application and i need some touch events. So I added the jQuery Mobile framework. Now, all my layout is ruined, because jQuery Mobile adds some css styles and divs in my html markup.
Can I use the touch and swipe event of jQuery Mobile without altering (at all) my html?
I found something that worked for me, you can find the javascript files you need in this repository
You can download the things you need, without downloading the whole package. I downloaded just the event related files, and I used them without altering my html markup. It’s not the best solution, but it’s working for now.