SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2006
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox javascript error: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)"

    The code that I have worked just fine in IE6 but I am getting this error while dynamically building a navigation table. Here is the total error I see in Mozilla Firefox:

    [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://ctoohey02/email/previewer_tes...irefoxNodes.js :: xmlProcessor :: line 87" data: no]

    I'm not sure where to begin with this. All the values that I need to pass along to the dynamic navigation show in an alert(). Well the first values show in the alert() but the first table row is not built. This is the line it throws ther error on:

    var row = region_Table.insertRow();

    If this is not enough code or information to make a reply I can paste more of the code block in. I didn't want to spam the origional query with a bunch of code that was not necessary.

    Thanks for any help and for reading my question.

  2. #2
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Except in IE, insertRow expects an integer (index) argument. It doesn't hurt IE to supply the row index, so you may as well.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2006
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That was the answer mrhoo. Perfect. Thank you very much.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •