jquery Programming Glossary: x.test
Sort a set of li tags alphanumerically http://stackoverflow.com/questions/1491678/sort-a-set-of-li-tags-alphanumerically b n.toLowerCase if a b return 0 var x ^ . d var L Math.min a.length b.length 1 while cnt L a.charAt cnt b.charAt cnt x.test b.substring cnt false x.test a.substring cnt false cnt a a.substring cnt b b.substring cnt if x.test a x.test b if x.test.. 0 var x ^ . d var L Math.min a.length b.length 1 while cnt L a.charAt cnt b.charAt cnt x.test b.substring cnt false x.test a.substring cnt false cnt a a.substring cnt b b.substring cnt if x.test a x.test b if x.test a false return a 1 1 else if.. cnt b.charAt cnt x.test b.substring cnt false x.test a.substring cnt false cnt a a.substring cnt b b.substring cnt if x.test a x.test b if x.test a false return a 1 1 else if x.test b false return b 1 1 else var tem parseFloat a parseFloat b if..
|