Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

c-Row

macrumors 65816
Original poster
Jan 10, 2006
1,193
1
Germany
I'm currently working on a inline editor for our current homepage, but I just can't get replaceNode() to work... nor can I find any working examples online. appendChild() works fine, but replaceNode() would be far better.

Maybe someone could point me in a right, working direction?



[edit] OK... looks like replaceNode() does NOT work on Mac, no matter what browser you use.
 

epochblue

macrumors 68000
Aug 12, 2005
1,671
0
Nashville, TN
Are you using any kind of JS toolkit/library? Chances are, one of those toolkits will abstract you away from the DOM a little and give you all this functionality that you want without you having to deal directly with browser/OS differences.

Me? I like jQuery, but a lot of the world seems to love Prototype.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.