jQuery children() Method
jQuery children() method is used to find all the child elements of the selected element. This children() method in jQuery traverses down to a single level of the selected element and returns all child elements....
read more
jQuery ajax() Method
jQuery Ajax() method is used to send Ajax requests or asynchronous HTTP requests to the servers for fetching and posting data according to the requirement by specifying the request type....
read more
jQuery change() Method
jQuery change() is an inbuilt method that is used to detect the change in the value of input fields. This method works only on the “<input>, <textarea> and <select>” elements....
read more
jQuery parent() & parents() Method
In this article, we will learn about the parent() and the parents() methods of jQuery in detail with their practical implementation using the code examples....
read more
jQuery focus() Method
jQuery focus() is an inbuilt method that is used to focus on an element. The element gets focused by the mouse click or by the tab-navigating button....
read more
jQuery removeAttr() Method
jQuery removeAttr() method is an inbuilt method in jQuery that is used to remove one or more attributes from the selected elements....
read more
How to submit a form using ajax in jQuery ?
In this article, we will see the use of the AJAX request to submit a form in jQuery. The form will be submitted by sending the POST request to the server where the data will be stored....
read more
jQuery attr() Method
The attr() method in jQuery is used to set or return the attributes and values of the selected elements....
read more
How to change the placeholder text using jQuery?
The placeholder text is the text output for the user what is that input for. Like in HTML, we use Name as an input field and place a text inside that space i.e. Enter your name. Like shown in the below image:...
read more
How to replace HTML element in jQuery ?
We can replace HTML elements using the jQuery .replaceWith() method. With the jQuery replaceWith() method, we can replace each element in the set of matched elements with the provided new content and return the set of elements that were removed....
read more
How to use Anchor tag as submit button ?
The <a> (anchor tag) in HTML is used to create a hyperlink on the webpage. This hyperlink is used to link the webpage to other web pages. It’s either used to provide an absolute reference or a relative reference as its “href” value....
read more
jQuery closest() Method
The closest() is an inbuilt method in jQuery that returns the first ancestor of the selected element in the DOM tree. This method traverses upwards from the current element in the search of first ancestor of the element. Document Object Model (DOM) is a World Wide Web Consortium standard. This defines for accessing elements in the DOM tree....
read more