- <div class="categories" style=" margin-left: 10px; width: 930px; margin-top: 15px; margin-bottom: 15px;">
- <div class="box1" style="float: left; text-align: center; width: 215px; height: 240px; margin-right: 15px; background-color: #fff;"><h3></h3>
- <ul class="products" style="width: 200px; height: 230px; margin-left:auto; margin-right: auto; overflow: hidden;">
- </ul>
- </div>
- <div class="box2" style="float: left; text-align: center; width: 215px; height: 240px; margin-right: 15px; background-color: #fff;"><h3></h3>
- <ul class="products" style="width: 200px; height: 230px; margin-left:auto; margin-right: auto;">
- </ul>
- </div>
- <div class="box3" style="float: left; text-align: center; width: 215px; height: 240px; margin-right: 15px; background-color: #fff;"><h3></h3>
- <ul class="products" style="width: 200px; height: 230px; margin-left:auto; margin-right: auto; overflow: hidden;">
- </ul>
- </div>
- <div class="box4" style="float: left; text-align: center; width: 215px; height: 240px; background-color: #f8f8f8;"><h3></h3>
- <ul class="products" style="width: 200px; height: 230px; margin-left:auto; margin-right: auto; overflow: hidden;">
- </ul>
- </div>
- </div>
The jQuery code catches some elements from another part of the page and appends them in these boxes I can append the jQuery elements in the first box but not in other box. I'm able to append text to the other boxes but when I run the following jquery code: