Creating an alias for JQuery (other than the default $) The ready event handler also has a parameter that you can use instead of copying the global jQuery reference now jq is alias for JQuery unction Accessing div with two classes If you have divs with above class(es) and you want to select divs having […]
The article explains how to create simple portal with drag and drop portlets with JQuery/Jquery UI (with out use of any plugins) from scratch. The portal with have the ability to drag and drop portlets and also save the position and
state of the portlets.
If you are using AJAX to asyncronously get data to your web application, one the the problems you would come across is session expired error. This article show how to redirect user to login page once the session has expired.
Here is simple but effective method that we used in one of our applications. The example demonstrates calling of page method to get current time when a link is clicked, and if the session is timed out, will redirect to login page
Cascading Dropdowns are a series of dependent Dropdowns where one dropdown is dependent on the parent and is populated based on the item selected by the user. In this article i would let you know a simple way to achieve this using JQuery.
Generally, in case of cascading dropdown, once a user selects a dropdown a request is sent ASP.NET/PHP backend which inturn calls the DB to get required data which is populated. This means every time user selects new dropdown item there is trip to a database. Unless there is large dataset , you can bring the data once, populate the dropdowns using Jquery.