| javascript Programming Glossary: techniqueJavaScript function aliasing doesn't seem to work http://stackoverflow.com/questions/1007340/javascript-function-aliasing-doesnt-seem-to-work  on the global object not on the document object. Use a technique called closures to fix this function makeAlias object name var.. 
 When onblur occurs, how can I find out which element focus went *to*? http://stackoverflow.com/questions/121499/when-onblur-occurs-how-can-i-find-out-which-element-focus-went-to  input id focused type text disabled disabled Caveat This technique does not work for focus changes caused by tabbing through fields.. processing This can be mitigated with a variation on the technique Michiel ended up using function showBlur ev Use timeout to delay.. 
 Get the browser viewport dimensions with JavaScript http://stackoverflow.com/questions/1248081/get-the-browser-viewport-dimensions-with-javascript  clientWidth Height works everywhere . 2013 update The technique in verge uses feature detection to determine the best technique... in verge uses feature detection to determine the best technique. This corrected approach seems to be the safest and most accurate... 
 Access outside variable in loop from Javascript closure http://stackoverflow.com/questions/1331769/access-outside-variable-in-loop-from-javascript-closure  later point the last value it held is used. You can use a technique called a closure essentially a function that returns a function.. 
 Reference: Why does the PHP (or other server side) code in my Javascript not work? http://stackoverflow.com/questions/13840429/reference-why-does-the-php-or-other-server-side-code-in-my-javascript-not-wor  loads a new page. An AJAX request which is a Javascript technique to make a regular HTTP request to the server like 1. and 2... 
 Persist javascript variables across pages? http://stackoverflow.com/questions/1981673/persist-javascript-variables-across-pages  I should get a message box displaying 5. Is there a technique to persist someVar as such...  javascript   share improve this.. 
 JavaScript get clipboard data on paste event (Cross browser) http://stackoverflow.com/questions/2176861/javascript-get-clipboard-data-on-paste-event-cross-browser  . Recent versions of both TinyMCE and CKEditor use this technique Detect a ctrl v shift ins event using a keypress event handler.. 
 Why split the <script> tag when writing it with document.write()? http://stackoverflow.com/questions/236073/why-split-the-script-tag-when-writing-it-with-document-write  or advertisers that give clients javascript code employ a technique of splitting the script and or script tags up within document.write.. 
 What is the most efficient way to create HTML elements using jQuery? http://stackoverflow.com/questions/327047/what-is-the-most-efficient-way-to-create-html-elements-using-jquery  I use document.createElement 'div' Benchmarking shows this technique is the fastest. I speculate this is because jQuery doesn't have.. 
 var self = this? http://stackoverflow.com/questions/337878/var-self-this  qwe console.log abc it is available here too ... This technique relies on using a closure. But it doesn't work with this because.. 
 Is JavaScript 's “new” Keyword Considered Harmful? [closed] http://stackoverflow.com/questions/383402/is-javascript-s-new-keyword-considered-harmful   Crockford has done a lot to popularize good JavaScript techniques. His opinionated stance on key elements of the language have.. class based OO languages JavaScript's native inheritance technique is a simple and surprisingly effective means of code re use... without modification. John Resig goes into detail on this technique in his Simple Class Instantiation post as well as including.. 
 Using Javascript in CSS http://stackoverflow.com/questions/476276/using-javascript-in-css  CSS. As Paolo mentions one way in IE is the expression technique but there's also the more obscure HTC behavior in which a seperate.. XML that contains your script is loaded via CSS. A similar technique for Firefox exists using XBL . These techniques don't exectue.. A similar technique for Firefox exists using XBL . These techniques don't exectue JavaScript from CSS directly but the effect is.. 
 How to decide when to use NodeJS? http://stackoverflow.com/questions/5062614/how-to-decide-when-to-use-nodejs  connection from the browser back to the server. Using a technique known as long polling you can write an application that sends.. 
 HTML table with fixed headers? http://stackoverflow.com/questions/673153/html-table-with-fixed-headers  fixed headers  Is there a cross browser CSS JavaScript technique to display a long HTML table such that the column headers stay.. 
 How to prevent buttons from submitting forms http://stackoverflow.com/questions/932653/how-to-prevent-buttons-from-submitting-forms  name RemoveLastItem Remove Last Item button This technique keeps all of your logic in one place making it easier to debug..... 
 Is it correct to use JavaScript Array.sort() method for shuffling? http://stackoverflow.com/questions/962802/is-it-correct-to-use-javascript-array-sort-method-for-shuffling  go and measure how random the results of this shuffling technique are update I did some measurements and posted the results below.. 
 |