I get an error on load when I use the string.replace method with IE6/
firebug lite (either remote or local). Here's my complete file that
throws errors (hopefully this editor won't mangle it):

<code>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
        <script src='js/firebug/pi.js'></script>
        <script src='js/firebug/firebug-lite.js'></script>
        <script>
        var foos = ['Apple Pie', 'Big Cake', 'Small Cake', 'Neither Big Nor
Small Cake', 'Ice Cream'];
        for (var i in foos) {
                var foo = foos[i];
                var bar = foo.replace(/ /g, "_").toLowerCase();
                console.log(foo);
                console.log(bar);
        }
        </script>
</head>
<body>
hi there
</body>
</html>


</code>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to