Can't quite get over that I'm using wifi on a bus. Job search is going well, have two companies I'm fairly sure are going to make offers and a few more leads to chase up just in case. More later if I get the jobs.
Switching from iframe/designMode to div/contentEditable and suddenly nothing was editable. Can't find this mentioned anywhere online so will blog it here: In Moz, contentEditable does nothing if the document is XHTML. In Fiinrefox 3+ and HTML this makes the element editable as per my favourite IE proprietary feature turned spec in HTML5. This isn't so surprising (contentEditable is part of HTML5, not the rather more strictly defined XHTML) but took me a long time to work out. Annoying because now I have to change a thousand
.tagName.toLowerCase(). Double annoying because I can't use Array.pluck('tagName') to get a bunch of tagNames at once. Oh well.
So why switch? Well, having client-side applications span two documents was creating more problems than it solved. Prototype tends to make assumptions that there is only one
document and sometimes gets upset when