Question:Write the functions of hasClass and html methods. 

Answer hasClass(class): Returns true if the specified class is present on at least one of the set of matched elements. Html(): Get the html contents (innerHTML) of the first matched element. 

+ Report
Total Preview: 998
Write the functions of hasClass and html methods.
Copyright © 2024. Powered by Intellect Software Ltd