I have created a button to work in my app, but the problem is that when I press the button the color Varies and remains active after the operation is done. I am using code for the jquery.mobile-1.3.1.min.css button: I have tried to use this code to reset the functionality of the active code, but the problem is that when we press the button for a long time, its active status is constant And it remains active. Please see my problem here on my solution. Finally it was fixed! :)
& lt; A href = "index.html" class = "camerabtn" data-roll = "button" data-icon = "camerabatan" data-iconos = "top" data-inline = "true" onclic = "capturefoto ();" & Gt; & Lt; / A & gt;
$ (document) .ready (function () {$ ('a'). Bind ('click', function () {setTimeout ("$ ('a'). RemoveClass 'Ui-BTN-active') ", 250);});});
No comments:
Post a Comment