| javascript Programming Glossary: s.splitSimplest way to parse a Date in Javascript http://stackoverflow.com/questions/1258310/simplest-way-to-parse-a-date-in-javascript  thing but here is one more. function dateParse s var parts s.split ' ' var d new Date parts 2 parts 1 1 parts 0 return d   share.. 
 Convert digits into words with JavaScript http://stackoverflow.com/questions/14766951/convert-digits-into-words-with-javascript  '.' if x 1 x s.length if x 15 return 'too big' var n s.split '' var str '' var sk 0 for var i 0 i x i if x i 3 2  if n i.. 
 Validate IP address is not 0.0.0.0 or multicast address http://stackoverflow.com/questions/1503893/validate-ip-address-is-not-0-0-0-0-or-multicast-address  a number use this function function IPToNumber s var arr s.split . var n 0 for var i 0 i 4 i n n 256 n parseInt arr i 10 return.. 
 how to get GET and POST variables with JQuery? http://stackoverflow.com/questions/439463/how-to-get-get-and-post-variables-with-jquery  ^ ^ g function function decode s return decodeURIComponent s.split .join  _GET decode arguments 1 decode arguments 2 document.write.. more generic implementation function getQueryParams qs qs qs.split .join var params tokens re ^ ^ g while tokens re.exec qs params.. 
 Getting an absolute URL from a relative one. (IE6 issue) http://stackoverflow.com/questions/470832/getting-an-absolute-url-from-a-relative-one-ie6-issue  instead of DOM methods. function escapeHTML s return s.split ' ' .join ' amp ' .split ' ' .join ' lt ' .split ' ' .join '.. 
 Test if date is Valid http://stackoverflow.com/questions/5812220/test-if-date-is-valid  e.g. Expect input as d m y function isValidDate s var bits s.split ' ' var d new Date bits 2 bits 1 1 bits 0 return d d.getMonth.. bits of the date string function isValidDate2 s var bits s.split ' ' var y bits 2 m bits 1 d bits 0 Assume not leap year by default.. 
 Date parsing in javascript is different between safari and chrome http://stackoverflow.com/questions/6427204/date-parsing-in-javascript-is-different-between-safari-and-chrome  you could try var s '2011 06 21T14 27 28.593Z' var a s.split ^0 9 for i 0 i a.length i alert a i var d new Date a 0 a 1 1.. 
 Accessing nested JavaScript objects with string key http://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key  to properties s s.replace ^ . '' strip a leading dot var a s.split '.' while a.length var n a.shift if n in o  o o n else return.. 
 Is the recommendation to include CSS before JavaScript invalid? http://stackoverflow.com/questions/9271276/is-the-recommendation-to-include-css-before-javascript-invalid  path @http_path_info array @http_query_string.split .map s s.split .flatten parsed Hash array delay parsed delay .to_i 1000.0 jsdelay.. 
 How do you reverse a string in place in JavaScript? http://stackoverflow.com/questions/958908/how-do-you-reverse-a-string-in-place-in-javascript 
 |