1.

How does jqXHR.always() work in an ajax call?

Answer»

.hasClass(className) determines if the ELEMENT contains class name. It RETURNS true if the element contains the class name OTHERWISE returns false.

The following statement determines if the element has class name “X”.

$(element).hasClass(“x”);


Discussion

No Comment Found