javascript Programming Glossary: techniques
How to detect if JavaScript is disabled? http://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled people disable javascript. Then I began to wonder what techniques might be used to determine if the user has it disabled. Anyone..
event.preventDefault() vs. return false http://stackoverflow.com/questions/1357118/event-preventdefault-vs-return-false after a certain event is fired I can use one of two techniques. I'll use jQuery in the examples but this applies to plain JS..
How to avoid global variables in JavaScript? http://stackoverflow.com/questions/1841916/how-to-avoid-global-variables-in-javascript instances when it is difficult to code without them. What techniques do you use to avoid the use of global variables For example..
JavaScript: How to detect that the Internet connection is offline? http://stackoverflow.com/questions/189430/javascript-how-to-detect-that-the-internet-connection-is-offline won't be able to tell the difference. Other cross domain techniques could be tried for example embedding an iframe in your page..
Unescape HTML entities in Javascript? http://stackoverflow.com/questions/1912501/unescape-html-entities-in-javascript How can I unescape the string in Javascript I tried the techniques on this page unsuccessfully http paulschreiber.com blog 2008..
What are techniques to get around the IE file download security rules? http://stackoverflow.com/questions/2064882/what-are-techniques-to-get-around-the-ie-file-download-security-rules are techniques to get around the IE file download security rules Internet..
Getting around same origin policy in javascript without server side scripts http://stackoverflow.com/questions/2067029/getting-around-same-origin-policy-in-javascript-without-server-side-scripts . What I've explained here is the basis of one of the techniques that they use and while it might not be as fancy it is certainly..
Exclude debug javascript code during minification http://stackoverflow.com/questions/2934509/exclude-debug-javascript-code-during-minification out if this is the best solution or if there are other techniques. Because I haven't chosen how to minify yet I'd like to clean..
What are the common defenses against XSS? [closed] http://stackoverflow.com/questions/3129899/what-are-the-common-defenses-against-xss against XSS closed In other words what are the most used techniques to sanitize input and or output nowadays What do people in industrial..
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..
Simple calculator in JSP http://stackoverflow.com/questions/4114742/simple-calculator-in-jsp so that the bigger picture the sum of all those languages techniques becomes more obvious. You may find this answer useful then...
Using Javascript in CSS http://stackoverflow.com/questions/476276/using-javascript-in-css A similar technique for Firefox exists using XBL . These techniques don't exectue JavaScript from CSS directly but the effect is.. a good idea to wrap code in a CDATA section. In both techniques the code doesn't execute unless the CSS selector matches an..
How can jQuery deferred be used? http://stackoverflow.com/questions/4869609/how-can-jquery-deferred-be-used source for examples is cheating. Bounty Show us what techniques are available when we abstract away whether an operation is..
Facebook how to check if user has liked page and show content? http://stackoverflow.com/questions/6246449/facebook-how-to-check-if-user-has-liked-page-and-show-content none or block and for more reliable cross browser techniques see here http www.webmasterworld.com forum91 441.htm But jQuery..
Detect blocked popup in Chrome http://stackoverflow.com/questions/668286/detect-blocked-popup-in-chrome blocked popup in Chrome I am aware of javascript techniques to detect whether a popup is blocked in other browsers as described..
How to make a browser to browser (peer to peer) connection? [closed] http://stackoverflow.com/questions/7022383/how-to-make-a-browser-to-browser-peer-to-peer-connection allow web apps to make peer to peer HTTP connections What techniques are available to do P2P in the browser Does HTML5 Support Peer..
how to draw smooth curve through N points using javascript HTML5 canvas? http://stackoverflow.com/questions/7054272/how-to-draw-smooth-curve-through-n-points-using-javascript-html5-canvas 3.0 Animation Making things move . p.95 rendering techniques creating multiple curves. Note this solution does not actually..
Screen Scraping from a web page with a lot of Javascript http://stackoverflow.com/questions/857515/screen-scraping-from-a-web-page-with-a-lot-of-javascript is mostly Javascript although it doesn't use any AJAX techniques . Does anyone know if a library or program exists which I could..
JavaScript Debugger http://stackoverflow.com/questions/103155/javascript-debugger Here is an article Advanced JavaScript Debugging Techniques that describes the use of several tools. One new tool I learned..
jQuery framework internals http://stackoverflow.com/questions/1419731/jquery-framework-internals Guides dp 0764579088 http www.amazon.com Pro JavaScript Techniques John Resig dp 1590597273 ref sr 5F1 5F10 ie UTF8 s books qid..
Change an element's CSS class with JavaScript http://stackoverflow.com/questions/195951/change-an-elements-css-class-with-javascript id ' button contains My Button ' .click changeClass HTML5 Techniques for changing classes Modern browsers have added classList which..
Javascript automatic getter/setters (John Resig Book) http://stackoverflow.com/questions/377716/javascript-automatic-getter-setters-john-resig-book getter setters John Resig Book I'm reading Pro Javascript Techniques from John Resig and I'm confused with an example. This is the..
Get Element StyleSheet Style in JavaScript http://stackoverflow.com/questions/395341/get-element-stylesheet-style-in-javascript using John Resig's getStyle function from Pro JavaScript Techniques to get the style of elements function getStyle elem name J S.. the style of elements function getStyle elem name J S Pro Techniques p136 if elem.style name return elem.style name else if elem.currentStyle..
HTML5 Game (Canvas) - UI Techniques? http://stackoverflow.com/questions/4599509/html5-game-canvas-ui-techniques Game Canvas UI Techniques I'm in the process of building a JavaScript HTML5 game using..
jQuery plugin template - best practice, convention, performance and memory impact http://stackoverflow.com/questions/5980194/jquery-plugin-template-best-practice-convention-performance-and-memory-impac cost of readability calling getEventNS all the time . OO Techniques It's better to stick to proper JavaScript OO rather then classical..
Good opensource JS project for learning? [closed] http://stackoverflow.com/questions/6638518/good-opensource-js-project-for-learning ppk on Javascript JavaScript The Good Parts Pro Javascript Techniques Eloquent Javascript Ajax in Action Ajax in Practice jQuery in..
How is almost everything in Javascript an object? http://stackoverflow.com/questions/9108925/how-is-almost-everything-in-javascript-an-object
|