jQuery
Upcoming SlideShare
Loading in...5
×
 

jQuery

on

  • 1,356 views

short jQuery

short jQuery

Statistics

Views

Total Views
1,356
Views on SlideShare
1,352
Embed Views
4

Actions

Likes
0
Downloads
20
Comments
0

3 Embeds 4

http://www.techgig.com 2
http://www.linkedin.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

jQuery jQuery Presentation Transcript

  • jQuery ExtJS … And GWT
  • jQuery
    • Nice selectors (that you can change and customize if necessary to work with other libraries link )
          • $(“div”) gets a type of element
          • $(“.myClass”) gets an element by class name
          • $(“#myId”) gets an element by id
          • $(“#tabs > ul”) refers to the direct children of an element with id tabs
          • $(“input[Type=text]”) attribute selectors
          • There is also position selectors such as :first :odd :even, etc
    • browser compatible
    • Unobtrusive by design
    • Chaining $(“p.help”).hide().addClass(“p.more”)
    • Great documentation (thou sometimes down so get the offline Api )
    • Incredibly small (15k m & Gz) and available through Ajax Libraries Google API
  • Stuff that I use
    • Something not exclusive to jQuery but really interesting implementation of the observer pattern < code sample >
    • Pluggins
    • Ajax – Load XML or JSON (or anything really)easily
    $.ajax({ type: &quot;GET&quot;, url: &quot;test.js&quot;, dataType: &quot;script&quot; });
  • jQuery Ajax
    • Thou you can also do
    • Some cool options: async, cache (for stupid ie), success, jsonp
    $.getJSON(“some_url”, function(json){…})
  • Ui.jquery and Themeroller
    • ui.jQuery for Accordion, datepicker, Dialog, Slider and Tabs
    • Effects.jQuery – show, hide toggle and effect(..)
    • Check out Theme-Roller its cool but I cant find a use for it yet.
  • Links
    • http://www.webdesignerwall.com/demo/jquery/ Some basic stuff ( check the item 9)
    • http://webplicity.net/flexigrid/ Grid
    • http://remysharp.com/2008/07/04/jquery-api-update-offline-and-anywhere/ jQuery Api
    • http://jquery.com/
  • Ext JS Show some code