Basic code -- breaks in safari

Workaround code -- works in safari




Explanation: Sometimes it is usefull to switch two DOM objects with each other, and to reassign their ID's to make the process transparent. But in Safari and Safari alone, assigning an ID which already is being used does something bad...

2007-5-3
Scott Lindsey
slindsey at randomhouse.com