jQuery class selector


It selects or find the html element by class.

Its syntex is as:


$('.className')

jQuery class selector example

Hi h5 is selected.