Skip to content

Tag Archives: jQuery-Methods

The ajaxComplete() method is used to specify function to be run when an AJAX request completes. Syntax: $(document).ajaxComplete(function(event, xhr, options)) Parameter: event: It contains the… Read More
In jQuery .get() method loads data from the server by using the GET HTTP request. This method returns XMLHttpRequest object. Syntax $.get( url, [data], [callback],… Read More
The ajaxStart() method is used to specify function to be run when an AJAX request starts. Syntax: $(document).ajaxStart(function()) Parameter:: It takes only one parameter. function():… Read More
The ajaxStop() method is used to specify function to be run when an AJAX requests have completed. Syntax: $(document).ajaxStop(function()) Parameter:: It takes only one parameter.… Read More
The attr() method in jQuery is used to set or return the attributes and values of the selected elements. Syntax: To return the value of… Read More
This method is used to set or return the text content of the element. While setting the content, it overwrites the content of all the… Read More
The unload() method in jQuery is used to perform unload event when the user try navigates away from current webpage.The event can be triggered when… Read More
The die() method added with live() method, removes one or more event handlers, for selected elements. Syntax: $(selector).die(event, function) Parameter: event: Specifies one or more… Read More
This method is used to attach one or more event handlers for the selected elements. It also specifies the function that runs when the event… Read More
The error() method in jQuery is used when an element encounters an error that is the element is not loaded correctly. The error() method attaches… Read More