Live XML Editor
While I don’t recommend editing XML files by hand, its not an uncommon task and I occasionally find myself having to do it. As I am a big advocate of web based applications, I was hoping to find a web …
While I don’t recommend editing XML files by hand, its not an uncommon task and I occasionally find myself having to do it. As I am a big advocate of web based applications, I was hoping to find a web …
If you’re not using jQuery’s .live() method you are really missing out. live() works by storing a selector-to-handler mapping in an internal hash which allows it to execute the handler for all existing and future elements which match that selector. …
Edited on October 7th: I realized after the original post that the code provided was not entirely correct. Specifically, it ignored CDATA values. Methods below have been updated to reflect that fix. The logic for extracting the text values is …
This is actually very simple, but it took a bit to discover so I’m posting it to address that. function getXmlAsString(xmlDomObj){ return (typeof XMLSerializer!==”undefined”) ? (new XMLSerializer()).serializeToString(xmlDomObj) : xmlDomObj.xml; }
The Firebug plug-in is an essential and unparalleled tool for (web) UI development. If you’re not using it, you should be. But in any case, some of its features can make a lazy (or busy) programmer cause serious problems in …
I downloaded Firefox 3.5 last week and while I did notice a slight performance improvement, there are a few unexpected updates as well: Photos look much darker in 3.5 since it uses the embedded ICC profile where other versions/browsers don’t. …
Anchor tags are frequently used to do something other than what they were meant for, such as executing some JavaScript code. I’m talking about cases such as these: <a href=”javascript:doSomething()”>Click Here</a> // or… <a href=”javascript:void(0)” onclick=”doSomething()”>Click Here</a> Both of these …
A colleague of mine sent out a link to a very resourceful page containing very helpful cheat sheets for web developers. Get them here: http://www.webappers.com/2008/11/05/best-cheat-sheets-for-web-developers/ I haven’t seen the WebAppers site before, but it definitely deserves a bookmark and periodic …
You’ll probably never need to do this (and given the solution, you’ll have an extra reason for not doing it), but just in case you need it that one time, here it is. So, for whatever reason, you need a …
Microsoft’s Silverlight plugin is finding its way to more and more high profile websites. NBC used it to broadcast the Beijing Olympics and major sport sites are using to show live games and highlights. (I should note that Silverlight is …