php - How to add a custom class to all drupal anchor elements -


I am new to Doppel and looking for a way to add custom class (HTML) (the function or template method) I am featuring) For all the anchor elements of the Draple site, I want to manipulate the anchor with jquery and later want to be able to delete this square.

Thanks

If this is all the anchor elements that you want in the class and If you are using jQuery, then what is it purely within DOM-ready time JavaScript in JavaScript?

  $ (document) .ready (function () {$ ("a"). AddClass ('myClass');});  

or even just

  $ (document) .ready (function () {$ ("a"). Doho (); });  

Without implementing the class?


Comments