ALL articles of jQuery

How to get and set attribute value using jQuery attr method

jQuery attr() method is used to get first selected element or set attribute value to matched all elements. Syntax: Get current attribu...

READ MORE

How to get, set or change CSS using jQuery css method

Hello guys, Sometimes you need to add or change CSS after Javascript events fire, For example clicks, hover. Using jQuery, you can simply...

READ MORE

Get form data using jQuery serialize and serializeArray Meth...

jQuery serialize() method used to create a url encoded query string from form field values. This is used to send Ajax request by creating se...

READ MORE

Set default options for Ajax using jQuery ajaxSetup Method

jQuery $.ajaxSetup() method sets default option for all Ajax requests. This applies to all Ajax including $.get(), $.ajax() etc. Syntax:...

READ MORE

How to create jQuery Ajax get request

While sending Ajax request, sometimes you just need to get data and load to HTML element or load external script. Sometimes you need to load...

READ MORE

How to get and set HTML using jQuery html method

jQuery html() method allows you to get content from element or set new content to matched element. This also includes HTML tags. If no any e...

READ MORE