how to add css class using javascript

 

want to dissable my anchor tag on click that button


Answer
 

you can use addclass() in javascript

$('#id').addclass('classname');