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

  • Home
  • SEARCH
  • 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 3237874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:47:21+00:00 2026-05-17T17:47:21+00:00

StackOverlow, Whats up! I am trying to append a new UL inside a div.

  • 0

StackOverlow,
Whats up! I am trying to append a new UL inside a div. It works beautifully in every browser except for, you guessed it, IE. Even though the new UL is appended under the current UL’s in IE, the CSS styling is not being applied…I am not doing anything super complex. Just making an AJAX call, getting the results and appending them to the containing div.

Here is what I am trying to append:

var toPrint =
    '<ul class="'+listClass+'" id="'+listType+'_' + listId + '">' +
        '<li class="list_title"><label><input id="chk_'+ listType +'_' + listId + '" value="' + listId + '" type="checkbox" checked="checked" name="'+checkName+'"/> <span>New List Name</span></li>' +
        '<li><a class="modal_btn edit_btn" rel="' + editId + '" title="' + listName + '">Edit</a></li>' +
        '<li><a class="delete_list_btn" message="Delete" title="' + mnews.fmt.nl_js_msg17 + '">Delete</a></li>' +
    '</ul>'

And Here is what I am using for the jQuery function:

$('#list_container').append(toPrint);

As this says, I am appending the toPrint variable to the #list_container div …like I said, it appends, but is broken…

Any ideas StackOverflow??

Thanks!
brad

  • 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-17T17:47:22+00:00Added an answer on May 17, 2026 at 5:47 pm

    You have an unclosed <label> tag in your first <li>. Without your CSS rules and/or a live page, it’s hard to tell if that’s the problem, but it could be.

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

Sidebar

Related Questions

Whats the best way to implement rollover 'buttons' like Stackoverflow has for 'Questions', 'Tags',
I've had a look around on StackOverlow but haven't been able to find a
I'm trying to get started with a simple audio application under .NET 3.5 (preferably
I was trying to access a page using curl. I could access it perfectly
I know very little about JavaScript but despite this I'm trying to cobble something
What I am trying to do is to subtract 7 hours from a date.
I'm trying to create something similar to the stackoverflow user score on my site
Want to know what the stackoverflow community feels about the various free and non-free
What do wikis/stackoverflow/etc. do when it comes to storing text? Is the text broken
What algorithms and processes are involved in storing revision changes like stackoverflow and wikipedia

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.