I am creating some div elements and the ones that are nested are showing up in the page without the attributes. The parent element that I am creating is getting all the attributes without any problem. Is there something wrong with how I am doing it? I tried rephrasing it a few different ways but the attributes aren't showing up.
Actually, I think it might actually be because the innerhtml. Apparently, jquery will call innerhtml if there's something in there, so that might be why the attributes aren't put in there. I'll have to check that out tomorrow.