jquery - Getting an Element of a Particular Class -
jquery - Getting an Element of a Particular Class -
is possible element particular class solely using class name? example, if have:
<div class="hello"> hello world! </div>
is there method in jquery accepts parameter hello
, returns div(s) have class "hello"?
i know can utilize loop until find given div class/id-name, curious if there else.
$(".hello")
the jquery class selector select class "hello".
http://api.jquery.com/class-selector/
jquery html
Comments
Post a Comment