¡@

Home 

2014/10/16 ¤W¤È 12:08:12

jquery Programming Glossary: set.eq

HTML5 localStorage: Big JSON, specific value as condition to change CSS (favorite list)

http://stackoverflow.com/questions/14776575/html5-localstorage-big-json-specific-value-as-condition-to-change-css-favorit

accordingly META.Fn loadSwitch check localStorage set CSS function loadSwitchCSS set i setTimeout function var myID set.eq i .attr 'id' a. Get key my case from the html ID alert look at myID var val getJsonVal data myID .status alert data if val.. ID alert look at myID var val getJsonVal data myID .status alert data if val 1 c. CSS remove add so if...else... CSS set.eq i .removeClass .addClass 'status1' else set.eq i .removeClass .addClass 'status0' if i set.length 1 loadSwitchCSS set.. myID .status alert data if val 1 c. CSS remove add so if...else... CSS set.eq i .removeClass .addClass 'status1' else set.eq i .removeClass .addClass 'status0' if i set.length 1 loadSwitchCSS set i 1 100 3. Fire the function on load loadSwitchCSS..

empty field validation in jquery

http://stackoverflow.com/questions/6056705/empty-field-validation-in-jquery