$('<ul><li><span class="library" /></li></ul>')
.items([
{library:'Prototype'},
{library:'jQuery'},
{library:'Dojo'},
{library:'MooTools'}
])
.chain();
Chain.js isn’t just bind data automatically to your HTML, but it also maintains and manages your data/items.
var data = {first:'Stephen', last:'Hawking'};
// Add one item
$('#persons').items('add', data);
// Remove item
$('#persons').items('remove', data);
via http://www.trilancer.com/jpolite2/
void httpRequest()
{
byte theByte;
xPortSerial.print("GET ");
xPortSerial.print(PHP_PAGE_LOCATION);
// value0 = 123 and value1 = 456
// You should change these to be your sensor values or whatever you want to send
// (see php code if you want to add more values or change the names value0/value1
xPortSerial.print("?value0=123&value1=456");
xPortSerial.print(" HTTP/1.1n");
xPortSerial.print(WEB_HOST);
while(!xPortSerial.available()) {} // Just loop until available
theByte = xPortSerial.read();
if (theByte != 0)
Serial.println("Passed.");
else
Serial.println("Failed.");
}