Home » JavaScript » jQuery

jQuery

JQuery errorPlacement Example

Hello readers! In this article we will take a look on how to use the JQuery validate plugin. In this specific case this is the validate option called errorPlacement function. We will learn how to implement a few simple examples using the JQuery validate API and its function errorPlacement.  We will also check some details about this API. Before we start, check ...

Read More »

JQuery Datatable Example

Hello readers, in this article we will take a look on how to use a JQuery Data table plugin. We will learn how to implement a few simple examples using the JQuery Data table API and also we will check some details about this API. Before we start, check the requirements related to the technologies and the frameworks used to ...

Read More »

JQuery Animation Example

Hello, readers of this article we will take a look on how to use the JQuery animation feature. We will learn how to implement a few simple examples using the JQuery API and also we will check some details of the method animate provided by the API. Before we start, check the requirements related to the technologies and the frameworks ...

Read More »

jQuery Select Option Example

The aim of this example is to explain and use various jQuery selectors and methods related to manipulation the select dropdown element of HTML. The <select> element is used to create a drop-down list. The <option> tags inside the element define the available options in the list. These basic HTML elements are the ones we’ll apply special selector and/or methods ...

Read More »

jQuery Textarea Example

The aim of this example is to show you how to use the Textarea with jQuery. The Textarea tag defines a multi-line text input control. A text area can hold an unlimited number of characters, the size of a text area can be specified by the cols and rows attributes, or even better; through CSS’ height and width properties. jQuery ...

Read More »

jQuery History Example

The aim of this example is to show you how to use the jQuery for accessing the browser history. Sometimes the web site’s user may want to go back to the previous page or forward to the next page. The following methods can be used for this purpose. back() method for loading the previous URL in the history list. forward() ...

Read More »

jQuery Lightbox Example

In this example, we’re having a look at a very popular jQuery plugin called Lightbox. Lightbox is originally a small javascript library used to overlay images on top of the current page. It’s a snap to setup and works on all modern browsers. It is one of the easiest solutions when it comes to individual image viewers or even galleries ...

Read More »

jQuery Http Get / Post Example

The aim of this example is to present and use the jQuery Http Get and Post methods. The jQuery get() and post() methods are used to request data from the server with an HTTP GET or POST request. These are the two commonly used methods for a request-response between a client and server. GET requests data from a specified resource ...

Read More »

jQuery Enable/Disable Example

The aim of this example is to show you how to enable/disable the html elements by using jQuery. In some cases, we need to enable or disable a HTML element. This will help us to allow/prevent the user from doing some actions. jQuery provides very simple code to enable/disable any HTML element. The following code is used respectively for this ...

Read More »