KW Online Tools Zone
Knowledge Walls
View All Tools Home
FIRSTFUNELE
[Jquery editor]
Run
Share Link
Clear
HTML [Ctrl+Enter] - to run
Click here to apply css red color to first element
first
second
third
fourth
last
CSS [Ctrl+Enter] - to run
Jquery [Ctrl+Enter] - to run
$(function(){ $("div.exam").click(function(){ $("div.exam div.num").first().css("color","red"); }); });
OUTPUT
Copyright © 2021 Knowledge walls, All rights reserved
Copyright © 2021 Knowledge walls, All rights reserved