Latest

 thumbnail

JavaScript Events

February 26, 2021

An event is something that happens to an HTML element. Events can be initiated by the browser itself or a user interacti...

 thumbnail

How to Comment in HTML

February 25, 2021
 thumbnail

jQuery: Select First Element with Class

February 13, 2021

To get the first element containing a class with jQuery, use the :first pseudo selector after the class name. To de...

 thumbnail

Select an Element by Class or ID with jQuery

February 11, 2021

jQuery uses the same selectors as CSS for getting elements with class names and ID. A . (dot) represents a class and a #...

 thumbnail

How to Disable/Enable Form Elements with jQuery

February 11, 2021

To disable a form element with jQuery, use the prop() method and pass "disabled" as the first argument and true as the s...

 thumbnail

Check if an Element Exists with Pure JavaScript and jQuery

February 11, 2021

In this tutorial, we will learn how to check if an HTML element exists using pure JavaScript and jQuery. With Pure...

 thumbnail

jQuery Document Ready Function

February 10, 2021
 thumbnail

jQuery Remove Class

February 09, 2021
 thumbnail

jQuery on Change Function

January 28, 2021