Welcome aboard! We are happy you are here and wish you good net-raft!
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
<body>
<div>
<span class="span1">xxx</span>
<span class="span2">xxx</span>
<span class="span3">xxx</span>
</div>
<script type="text/javascript">
$("div").find('span').each(function () {
$(".span1,.span2,.span3").css("background-color", "yellow");
});
</script>
</body>
</html>
The most helpful JQUERY solutions
plugin get client ip address using jqueryJQUERY Click to see more ... 10.5K 1.8K