Wednesday, April 3, 2013

Jquery basics

Jquery Reference Links:
=================

Jquery UI:
------------
http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css
http://code.jquery.com/ui/1.10.2/jquery-ui.js

Jquery:
---------
http://code.jquery.com/jquery-1.9.1.js

How to use page_init event(page loaded) in jquery:
=====================================
This will be used to execute initial script after complete page render. There are many ways available use page_init event in client side from that the following:
$(document).ready(function() {
    // put all your Javascript/jQuery script in here.
});

$(function(){

    // put all your Javascript/jQuery script in here.
});

How to access element by using "Id" attribute:
------------------------------------------------------
<div id="dvmyelement" > Access element by using "Id" attribute: </div>

var myelement = $("#dvmyelement");



No comments:

Post a Comment