I'm trying to access all anchors in the page that has a certain class using jQuery
For example. access all anchors that have class "bold"
I tried
$('.bold');
But I only need to select the anchors, can you please help me?
Thank you in advance
Use the following selector:
$('a.bold');
Wouldn't $('a.bold'); be what you need?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With