Johan Rylander

2010-07-02

innerHTML vs jquery html()

Postat i: web — Johan Rylander @ 10:02

Just learnt from hard experience the performance difference between the vanilla javascript innerHTML property and jquery’s html() method.

For Firefox 3.6 it was not so bug, just maybe 50% but for Safari the difference was several 100% (!). For Google Chrome, the difference was somewhere in between. All this is for a pretty large chunk of html and has been tested on Mac OS X. In usability the difference meant not being show a spinning beach ball in Safari and for Chrome not being asked whether it should terminate the script.

2010-06-08

Debugging javascript in ie7

Postat i: Programming, web — Johan Rylander @ 17:38

This article worked nicely:

http://www.berniecode.com/blog/2007/03/08/how-to-debug-javascript-with-visual-web-developer-express/#comment-41712

Tema: Silver is the New Black. Blogga med WordPress.com.

Follow

Get every new post delivered to your Inbox.