hi,
Desweiteren erwartet replace() als erstes Argument ein reguläres Muster,
Doch, replace kann auch nach fixen Textliteralen suchen und diese ersetzen - ab JavaScript 1.3 jedenfalls, vorher noch nicht.http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:String:replace#Syntax
Du gibst aber nur einen Zahlenwert an.
Die Zahl wird in diesem Falle automatisch in String konvertiert.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }