Tue 19th Sep 2006
document.documentURI vs. location
Posted in the wee hours, filed under JavaScript , Rants and Raves.Apparently, document.documentURI and document.location are not identical. Basically, document.location is not a string, so to treat it like one, you need to do:
(document.location+"").split("/")
Instead of:
document.documentURI.split("/")
Stupid IE.