How to get Text of Dropdown Selected Option in jQuery

Using the val() we can get the value associated to an element. In some cases we may need to get text associated to that element; for example in a dropdown we may need to get the text for displaying on Screen. So

Read More

How to show hide div using jquery

To hide, show or toggle a div in jquery is very easy as compared to the traditional ways in javascript;where we get the element by Id or name and use the css to show hide those elements. Lets see some sample codes

Read More

How to add and remove rows from table in jQuery

In this post we will see how to add and remove rows from table in jQuery. For adding and removing rows we will use various attributes and functions in jQuery. There are many ways for adding or removing rows in table using

Read More

Using CDN for jQuery – Google and Microsoft

Using CDN for jQuery is a very good practice and has lots of benefits over using jQuery from local. Using CDN for jQuery – Google [crayon-5950068d56c4c574165214/] Using CDN for jQuery –¬†Microsoft [crayon-5950068d56c55026036683/] Benefits of CDN over local 1. Faster Access Using CDN

Read More

Drag Drop Shopping Cart using jQuery and Knockout

Today many of the shopping websites have the drag drop shopping cart facility. The drag drop of items to the cart is a easy to use and quick way of shopping. In this article we will learn to build a drag drop

Read More

Handling errors during Ajax call using jQuery

While making ajax calls using jQuery we generally need to take care of the errors that are encountered while making these calls. This article describes the different ways of handling errors during Ajax call using jQuery. jQuery Ajax error handling jQuery provides

Read More

Show loading page using jquery ajax

Some times the ajax request takes time to fetch data from server, in such cases it is always suggested to show a spinner or a loading page using jquery ajax to the user. In this article we will learn to show loading

Read More