javascript Programming Glossary: surprising
<iframe> javascript access parent DOM across domains? http://stackoverflow.com/questions/1291812/iframe-javascript-access-parent-dom-across-domains supports this feature apparently which is perhaps a little surprising. Summary No you can't directly access edit the DOM of a page..
How and why does 'a'['toUpperCase']() in JavaScript work? http://stackoverflow.com/questions/15659809/how-and-why-does-atouppercase-in-javascript-work 'a' 'toUpperCase' in JavaScript work JavaScript keeps surprising me and this is another instance. I just came across some code..
JavaScript Time Zone is wrong for past Daylight Saving Time transition rules http://stackoverflow.com/questions/16946002/javascript-time-zone-is-wrong-for-past-daylight-saving-time-transition-rules of code I just hacked together see below . It's really surprising how far off most of the dates are in every browser but IE. Compare..
OO Javascript constructor pattern: neo-classical vs prototypal http://stackoverflow.com/questions/1809914/oo-javascript-constructor-pattern-neo-classical-vs-prototypal that talk he made some statements that for me were pretty surprising and insightful. For example JavaScript is the most important.. And that it is broken in many serious ways. The most surprising statement he made for me was new is dangerous . He doesn't use..
Where to begin with Smartphone Web Development? http://stackoverflow.com/questions/1848885/where-to-begin-with-smartphone-web-development global nav breadcrumbs you see on a lot of mobile sites. A surprising number of folks out there are trying to mimic the behavior of..
Javascript/PHP and timezones http://stackoverflow.com/questions/2319451/javascript-php-and-timezones obscur rules in place behind the scene that could give surprising results I don't know of any but nonetheless I don't think I..
Should you add HTML to the DOM using innerHTML or by creating new elements one by one? http://stackoverflow.com/questions/2319472/should-you-add-html-to-the-dom-using-innerhtml-or-by-creating-new-elements-one-b el endTimer return false Which gave the following really surprising results Test One Test Two Test Three Chrome 5 ~125ms ~10ms..
IE7 table cells made invisible by CSS cannot be made visible by later class changes (??) http://stackoverflow.com/questions/3077250/ie7-table-cells-made-invisible-by-css-cannot-be-made-visible-by-later-class-chan googled around and not found anything which shouldn't be surprising if you consider how many hits you get from IE7 layout bug searches...
Extracting text from a contentEditable div http://stackoverflow.com/questions/3455931/extracting-text-from-a-contenteditable-div 8 P 1 P P 2 P P 3 P Ugh. Nothing very consistent here. The surprising thing is that MSIE looks the most sane Capitalized P tag and..
understanding the concept of javascript callbacks with node.js, especially in loops http://stackoverflow.com/questions/4506240/understanding-the-concept-of-javascript-callbacks-with-node-js-especially-in-lo console.log index index This may look a bit surprising but it still works the same way and still has the same output..
Have I reached the limits of the size of objects JavaScript in my browser can handle? http://stackoverflow.com/questions/4833480/have-i-reached-the-limits-of-the-size-of-objects-javascript-in-my-browser-can-ha a large array in script tags in my HTML like this nothing surprising script var largeArray lots of stuff in here script In this particular..
How does __proto__ differ from constructor.prototype? http://stackoverflow.com/questions/650764/how-does-proto-differ-from-constructor-prototype says basicly the same Javascript object layout The most surprising thing for me was discovering that Object.__proto__ points to..
JSON.stringify() bizarreness http://stackoverflow.com/questions/710586/json-stringify-bizarreness version of my app with and old one and am finding some surprising differences in the way JSON.stringify works Using the JSON library..
Determine Maximum Possible DIV Height http://stackoverflow.com/questions/7719273/determine-maximum-possible-div-height px IE 9.0 10 737 418 px FF 7.0.1 17 895 697 px It's not surprising the WebKit produces the same result I guess more surprising.. the WebKit produces the same result I guess more surprising that IE and FF are so different. Is there a better way And do..
Javascript pointer/reference craziness. Can someone explain this? http://stackoverflow.com/questions/8318357/javascript-pointer-reference-craziness-can-someone-explain-this a outputs console.log JSON.stringify b outputs one This is surprising to me. I'd expect a and b to still be the same and to be since..
javascript surprising array comparison http://stackoverflow.com/questions/8328908/javascript-surprising-array-comparison surprising array comparison I'm trying to compare two arrays in javascript...
|