I need to remove the functionality that adds/removes the button class 'ui-btn-up-' or 'ui-btn-hover-' to jQuery mobile generated buttons. How could I do that?
Asked
Active
Viewed 140 times
0

Brian Tompsett - 汤莱恩
- 5,753
- 72
- 57
- 129

headkit
- 3,307
- 4
- 53
- 99
-
Havent use jQuery mobile, so dont know how it binds events, but maybe this will help: http://stackoverflow.com/questions/805133/how-do-i-unbind-hover-in-jquery – Fdr Jan 14 '14 at 09:51
-
which version are you using? – Omar Jan 14 '14 at 10:10
-
currently using 1.3.1 – headkit Jan 14 '14 at 10:28
-
unfortunately .unbind('mouseenter mouseleave') doesn't work. – headkit Jan 14 '14 at 10:32
-
`e.stopImmediatePropagation();` http://jsfiddle.net/Palestinian/skFZC/ – Omar Jan 14 '14 at 11:16
-
you mean I would have to add my own listeners and stop event propagation there? hm, that would work but then I also could just overwrite the CSS behaviour... – headkit Jan 14 '14 at 12:03