28 Feb '12, 8pm

Railscasts - AJAX History State:

if (history && history.pushState) { $(function() { $("#products th a, #products .pagination a").live("click", function(e) { $.getScript(this.href); history.pushState(null, document.title, this.href); e.preventDefault(); }); $("#products_search input").keyup(function() { $.get($("#products_search").attr("action"), $("#products_search").serialize(), null, "script"); history.replaceState(null, document.title, $("#products_search").attr("action") + "?" + $("#products_search").serialize()); }); $(window).bind("popstate", function() { $.getScript(location.href); }); }); }

Full article: http://railscasts.com/episodes/246-ajax-history-state

Tweets

Comment on Be Realistic on Welfare State by Phua Kai Lit

Comment on Be Realistic on Welfare State by Phu...

dinmerican.wordpress.com 24 Feb '12, 10pm

Be Realistic on Welfare State : We can’t afford it by Farish M. Noor (02-24-12) “While it is tempting to fall back on swee...

New York Towns Can Ban Fracking Even If State D...

treehugger.com 22 Feb '12, 4pm

In an undeniable victory for opponents of hydraulic fracturing , Tompkins County, New York judge Philip Rumsey has ruled t...

10-Year Old’s School Project Becomes Electric Car Must-See

10-Year Old’s School Project Becomes Electric C...

greencarreports.com 24 Feb '12, 9pm

By Nikki Gordon-Bloomfield Nikki Gordon-Bloomfield Contributing Writer BIO Nikki Gordon-Bloomfield is a self-confessed pet...

Researchers Create the Largest See-Through Sola...

renewableenergyworld.com 28 Feb '12, 6pm

Last week, researchers announced they had produced the largest see-through organic solar module to date — a 170 square cen...

@vaughn_tan You seen this? S'pore food history:

@vaughn_tan You seen this? S'pore food history:

In the 60s, hawkers roamed the kampongs and the streets of urban Singapore. The children who grew up in this foodscape sha...

Micro-Credit Sector Scandal Reinforces Need for Impact Investment Standards

Micro-Credit Sector Scandal Reinforces Need for...

triplepundit.com 28 Feb '12, 2pm

The sky is falling! As a long-time advocate of impact investing , I am chilled by the news that debt collectors for SKS, a...

[NEWS]: In Retrospect: Air Jordan 3 "Black History Month"

[NEWS]: In Retrospect: Air Jordan 3 "Black Hist...

nicekicks.com 26 Feb '12, 6pm

We received an abundance of Air Jordan 3 releases last year including the White/Cement, the “Stealth”, the Black/Cement an...

Myanmar inks peace pact with Mon rebels: State ...

straitstimes.com 27 Feb '12, 4am

YANGON (AFP) - Myanmar has signed a preliminary peace agreement with separatists in south-east Mon State, official media r...

Morning Mix: Mitt's Comeback, Santorum Not Sure About Separation of Church and State | Care2 Causes

Morning Mix: Mitt's Comeback, Santorum Not Sure...

care2.com 27 Feb '12, 9am

Former Massachusetts Gov. Mitt Romney may have some life to that campaign after all. Romney managed to snag Arizona Gov. J...

Create Crawlable, Link-Friendly AJAX Websites Using pushState()

Create Crawlable, Link-Friendly AJAX Websites U...

seomoz.org 27 Feb '12, 6am

Before doing anything else, make sure your site works without JS; Google will need to be able to follow your links and rea...

Educators, employers welcome Special Employment Credit scheme

Educators, employers welcome Special Employment...

channelnewsasia.com 28 Feb '12, 7am

SINGAPORE: Educators and employers have welcomed the government's plans to extend the Special Employment Credit and Workfa...

Using Infrared Technology for Sensing

digikey.com 26 Feb '12, 4pm

Using Infrared Technology for Sensing Contributed by ROHM Semiconductor 2/23/2012 Introduction Infrared (IR) technology ad...

3 Actionable Tactics For Content Creation Using...

seo.com 28 Feb '12, 8pm

3 Actionable Tactics For Content Creation Using Quora Jeremy Page , February 28, 2012 0 Comments Share Tweet Okay, so perh...

Manchester United's Pogba to get first start against Ajax

Manchester United's Pogba to get first start ag...

straitstimes.com 22 Feb '12, 11am

Manchester United's Paul Pogba (right) is likely to get his first start in the Europa League return leg against Ajax. -- P...

Dubious characters running for state elections in India

Dubious characters running for state elections ...

channelnewsasia.com 24 Feb '12, 9am

UTTAR PRADESH, India: Provincial elections in India's largest and most populous state is seen as a barometer of the sentim...