Skip to main content

Home/ javascript/ Group items tagged tables

Rss Feed Group items tagged

2More

DataTables (table plug-in for jQuery) - 0 views

shared by Ivan Pavlov on 10 Mar 09 - Cached
  • DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML tables.
  • DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML tables.
2More

John Resig - DOM DocumentFragments - 0 views

  • var div = document.getElementsByTagName("div"); var fragment = document.createDocumentFragment(); for ( var e = 0; e < elems.length; e++ ) {         fragment.appendChild( elems[e] ); } for ( var i = 0; i < div.length; i++ ) {         div[i].appendChild( fragment.cloneNode(true) ); }
  • Setting some time stamps we can see our results pay off in spades: Browser Normal (ms) Fragment (ms) Firefox 3.0.1 90 47 Safari 3.1.2 156 44 Opera 9.51 208 95 IE 6 401 140 IE 7 230 61 IE 8b1 120 40
1More

Regexp Syntax Summary - 0 views

  •  
    This table summarizes the meaning of various strings in different regexp syntaxes. It is intended as a quick reference, rather than a tutorial or specification. Please report any errors.
12More

Data scraping with YQL and jQuery | kelvinluck.com - 0 views

  • need a list of all the US National Parks in XML format
  • grab the data from this list on Wikipedia
  • navigating a HTML DOM
  • ...9 more annotations...
  • jQuery to parse the data
  • XPath to your YQL
  • relevant table from the Wikipedia document
  • SELECT * FROM html WHERE url="http://en.wikipedia.org/wiki/List_of_United_States_National_Parks_by_state" AND xpath="//table[@class='wikitable sortable']"
  • XML or JSON
  • creating an XML document
  • AJAX call from jQuery and then loop over the JSON
  • documentation could maybe be clearer
  • CSS style selection engine as well as the XPath one
1More

Accessing a MySQL database from Node.JS « Devthought - 2 views

  •  
    connection.query("SELECT * FROM TABLE").addCallback(function(result){ for (var i = 0, l = result.ROWS.length; i < l; i++){ var row = result.ROWS[i]; // do something with the data } });
1More

EJS Grid OMG wow the end all be all grid - 1 views

  •  
    the most amazing javascript dynamic grid you can imagine. wow.
1 - 10 of 10
Showing 20 items per page