I\'m a beginner trying to develop a mobile phone game with with Kinetic Js and \"phonegap build\". I am experiencing a problem which I don\'t know how to address. I made som
To disable clicking on anchor tag, you may simply use some css tricks, for example, you hav an anchor tag with class 'notclickable', then add css,
.notclickable {
pointer-events: none;
cursor: default;
opacity:0.7;
}
Now you can make an anchor tag disabled by adding this class
or you may try this to prevent a click,
$('.notclickable').live('click', function(event){
event.preventDefault();
});
Hope this helps.