Introduction to jquery getScript The jQuery getScript() method loads and executes the JavaScript file from remote location using HTTP GET request, then execute it. It is often called as shorthand method for inserting JavaScript into the web page. The main advantage of using jquery getScript is that, it loads content on run time which better than …
JQuery Basics
JQuery ajaxSetup Example
The jQuery ajaxSetup method helps default values to set for future ajax requests. It uses an array of new settings; the default settings can be set globally. It also allows us to define globally shared properties for all the ajax requests within a single page and offers to set up default data objects to be …
JQuery getJSON Example
JSON stands for JavaScript Object Notation which is lightweight data interchange format used to exchange text information. The jQuery getJSON() method access the data of JSON from the remote location by using GET HTTP request and also used to transfer and storing the data independently. It contains the URL to which request is sent to the server with …
How To Scroll a HTML Page Using JQuery Anchor Tag
This tutorial explains how to scroll HTML page to given anchor tag using jQuery. This section shows how to create a smooth page scrolling effect to scroll to the top or bottom of web page using jQuery. We will see two links in the following example. First link is called Go to Bottom at the …
JQuery slideToggle Example
This tutorial explains how to hide and show elements by using slideToggle() method in jQuery. The slideToggle() method display or hide the matched elements in the document. In this example, when we clicked Show/Hide button; it will show the collapsible content and hides the content, when we click the same button again. The slideToggle() method animates …
JQuery Callback Function
It is reference to executable code or piece of executable code that is passed as an argument from other method which is invoked due to some kind of event. It can be used as base to define functionality for new components. When you are executing the JavaScript code, you may get errors if you try …
How To Detect JQuery Version
jQuery is a JavaScript based library which makes much easier for your web applications using JavaScript. The jQuery is light weight, “write less, do more”, JavaScript library specialized for changing the web page documents on the fly.In this tutorial, we are going to check about JQuery version. You can check the JQuery version by using …