I am using phone-gap(1.3) for android app development. How to add/remove classes in android OS in javascript. I tried this:
document.getElementById('delete_a').classList.add('whiteButton');
document.getElementById('delete_a').classList.remove('redButton');
But it is not working. Any help is appreciated. Thanks.