Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6183827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:25:54+00:00 2026-05-24T01:25:54+00:00

I submitted a Firefox addon to the mozilla directory and it was rejected because

  • 0

I submitted a Firefox addon to the mozilla directory and it was rejected because of this:

item.innerHTML =   '<table style="border-collapse: collapse; width: 100%;">'
                  + '<tr><td style="line-height: inherit; padding: 0pt; width: 100%;">'
                   + word.title
                   + '</td></tr>'
                    + '</table>';

I spoke to the editor and he tells me to “use a text node and then insert it using appendChild, textContent, etc“

That sounds like total gibberish to me, i have never used TextContent, appendChild etc and am a bit lost. Can you show me how to do the above and I’ll edit the other 13 instances i have of something like the above in my script?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:25:55+00:00Added an answer on May 24, 2026 at 1:25 am

    You probably need to do something along these lines:

    var t  = document.createElement("table"),
        tb = document.createElement("tbody"),
        tr = document.createElement("tr"),
        td = document.createElement("td");
    
        t.style.width = "100%";
    
        // note the reverse order of adding child        
        tr.appendChild(td);
        tb.appendChild(tr);
        t.appendChild(tb);
    
       // more code to populate table rows and cells
       item.appendChild(t);
    

    Note: There are caveats to creating a table this way as things work differently between browsers. I would suggest consulting MDN to be sure about FF.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone help with this strange form submiting in FireFox? So this form should
This line of code is working fine for Firefox $(#<%=txt1.ClientID%>).text() but not for IE8
I'm referring to a problem similar to the one in this post , because
This is what I found by Firebug in Firefox. Values of disabled inputs will
This question is specific to the Firebug plugin for Firefox. The actual functionality works,
I have the following function: function checkEmails(newEmail){ $('table td:nth-child(3)').each(function(){ if ($(this).html() == newEmail) {
Can someone tell me why this form validation works in Firefox and not in
I submitted 5 jobs to an ExecutorCompletionService , but it seems like the jobs
I submitted an iPhone application to the app store, but it is failed to
I submitted a form via jquery, but I need the ActionResult to return true

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.