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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -