dimanche 25 octobre 2015

jQuery - If the body has class rtl do this

I try to alert message with iquery when body tag has class rtl .I wrote this code :

if ($('#Body')).hasclass("rtl"))) { alert("RRRRRRRR TTTTTTTTTTTTTT lllllllllllll");}

When I run this don't work anything.

Aucun commentaire:

Enregistrer un commentaire