The persistState Widget A Demo

Try playing around with the controls below and refreshing the page. Note that the state of these controls persists. This page loads jQuery, jQuery Ui, and the persistState widget. It then initializes everything like so:

$(function(){
	$('.persist-state').persistState();
})

The following are the contents of persistState in your localStorage: