Hide a links | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hide a links

17th Feb 2019, 1:13 AM
Johnny Bourque
Johnny Bourque - avatar
3 Answers
+ 9
<a href = "#" class = "a">Link</a> // Jquery var a = $(".a") a.hide () This will hide the link with class a.
17th Feb 2019, 1:24 AM
Arushi Singhania
Arushi Singhania - avatar
+ 3
What's your question exactly?
17th Feb 2019, 1:16 AM
Zeke Williams
Zeke Williams - avatar
+ 1
Arushi Singhania you can just use $("a").hide() instead of assigning each a with class a and removing
17th Feb 2019, 5:55 AM
Seniru
Seniru - avatar