Skip to content

Category Archives: JavaScript

The has() is an inbuilt method in jQuery which is used to find all the elements inside the specified list of elements. Syntax: $(selector).has(element) Parameter:… Read More
The hasClass() is an inbuilt method in jQuery which check whether the elements with the specified class name exists or not. Syntax: $(selector).hasClass(className); Parameter: It… Read More
The hover() is an inbuilt method in jQuery which is used to specify two functions to start when mouse pointer move over the selected element.… Read More
The click() is an inbuilt method in jQuery that starts the click event or attach a function to run when a click event occurs. Syntax:… Read More
The event.relatedTarget is an inbuilt property in jQuery that is used to find which element is being entered or gets exit on mouse movement. Syntax:… Read More
The event.which is an inbuilt property in jQuery which is used to return which keyboard key or mouse button was pressed for the event. Syntax:… Read More
The event.pageY is an inbuilt property in jQuery which is used to find the position of the mouse pointer relative to the top edge of… Read More
Below is the example of the JSON stringify() Method. Example: <script>     const value = {         Company: "GeeksforGeeks",         Estd: 2009,         location: "Noida"     };     const result =… Read More
Below is the example of Date getTimezoneOffset() method. Example: <script>        // If nothing is in parameter it takes     // the current date while creating… Read More
If an event is created and there is some activity from the user but you don’t want the element to react to that particular event… Read More
The delay() is an inbuilt method in jQuery which is used to set a timer to delay the execution of the next item in the… Read More
The data() is an inbuilt method in jQuery which is used to attach data or get data for the selected elements. Syntax: $(selector).data(para1); Parameter :… Read More
The removeData() is an inbuilt method in jQuery which is used to remove those data which are previously set with the data() method. Syntax: $(selector).removeData(args);… Read More
The dblclick() is an inbuilt method in jQuery which is used to trigger the double-click event to occur. This method occurs when the selected element… Read More
The clearQueue() method removes all items from the queue that have not yet been run. Note that when a function has started to run, it… Read More