|
|
-
|
|
How can we apply css to elements using JQuery library. The below example is to apply css on div element that has id as DivId. $(”#DivId “).css(”border”,”4px red”);
To apply css in odd childs of parent node using JQuery library.
$(”tr:odd”).css(”background-color”, “#bbbbff”);
To apply cs......
|
|
-
|
|
While designing software architecture, the first question that comes is How to identify a class? How will you know that a class needs to be created for this type? A class is the representation of the type of object. Software architecture has its own Object Oriented Design Principles that you mu......
|
|
-
|
|
In jQuery to disconnect one function from another function then $.disconnect is used. Once this statement gets executed, function gets disconnected from reference function and the connected function will not be executed after the code. Syntax is same as connect function. To disconnect c2.fun1 use t......
|
|
-
|
|
This is a jQuery plugin that is used to connect / bind a function to another function. It is more of assigning a handler for another function. Connect is used to execute a function whenever a function from another object or plugin is executed. We can connect to an event of a DOM element too using th......
|
|
-
|
|
To apply CSS static or dynamic To call functions on events Crisscross the documents Manipulation purpose To add animation effects In all the cases we are using JavaScript can be replaced with jQuery in the projects. This can reduce maintenance. ......
|
|
-
|
|
jQuery solves major JavaScript problems. jQuery is preferred over JavaScript due to following reasons. jQuery is light weight library for developing client side applications including ajax. jQuery assists to keep code simple and concise and reusable. Huge line of code developed using JavaScript can ......
|
|
-
|
|
The $() function is an alias for the jQuery() function . This returns a special Java-Script object. This JavaScript Object contains an array of DOM elements that matches the selector. Selector is key thing in jQuery development.It is away to select node from DOM. This Java-Script object posses......
|
|
-
|
|
Download the latest jQuery library from jQuery.com http://docs.jquery.com/Downloading_jQuery. Add reference to the jQuery library file in ASPX page / Master page that uses jQuery.
$(document).ready(function(){ $("a").click(function(event)
{ alert("Welcom......
|
|
-
|
|
Easy and Self Explanatory JavaScript enhancement without headache of learning new syntax. The code is simple, clear, readable, reusable and also easy to maintainable. Elimination of writing repeated, complex loops and DOM scripting library calls. and also read what is jQuery ......
|
|
-
|
|
Document.ready() function is completely different from body onload() function . Explanation JavaScript Operations on the page elements are performed outside of the DOcument Markup (DOM) that creates them. This is because of waiting until DOM elements of the page are fully loaded before those......
|
|