IE Error

    Date: 05/19/05 (Javascript Community)    Keywords: no keywords

    Sorry I keep re-editing the post. I've narrowed the issue down to something that shouldn't throw an error at all. I know that the TABLE element with an ID of "lvlTable" is there, this code works just fine in Firefox. I guess the only thing that I can think of is that there is other code interfering, but I don't know if that's the case or that this error can be caused by that.

    Error: Object doesn't support this property or method.

    Code:

    function delLevels(newLvlCount) {
    	lvlTable = document.getElementById("lvlTable");
    	alert(lvlTable);
    }
    


    Any help is greatly appreciated!

    EDIT: Turns out, IE didn't like the use of the variable lvlTable...probably because I was using elsewhere in the script. Stupid IE.

    Source: http://www.livejournal.com/community/javascript/67614.html

« scrollbar || What program do you use for... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home