Ok, here's my append code in the last part of my body html: <script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script type="text/javascript">
$("#mapDiv_root").append($('<div id ="logo"></div>'));
</script>
In header: <style type="text/css">
div.mapDiv_root #logo {
display: inline-block;
position: absolute;
height: 36px;
width: 46px;
right: 5px;
bottom: 5px;
z-index: 30;
background-image: url('logo.png');
cursor: pointer;
}
</style>
(Logo url was shortened.)
Part of Body section:[HTML]<body class="calcite app-loading"> <!--The ArcGIS API for JavaScript provides bidirectional support. When viewing the application in an right to left (rtl) language like Hebrew and Arabic the map needs to remain in left-to-right (ltr) mode. Specify this by setting the dir attribute on the div to ltr. --> <div class="loading-indicator"> <div class="loading-error"> <div class="icon-emo-unhappy"></div> <div class="error-message-text" id="error_message"></div> </div> </div> <div id="bc_outer" class="border-container-outer"> <div id="cp_outer_left" class="content-pane-left"> <div id="drawer_menus"></div> </div> <div id="cp_outer_center" class="content-pane-center"> <div id="geoData"></div> <div class="top-bar"> <div id="hamburger_button" class="hamburger-button toggle-grey"> <div class="icon-menu-1"></div> </div> <div id="title" class="app-title"></div> <div class="top-menu-right"> <div id="ShareDialog"></div> <div class="locate-box"> <div id="geocoderSearch"></div> </div> <div id="mobileGeocoderIcon" class="mobile-geocoder-icon icon-right"> <div id="mobileGeocoderIconContainer" class="button-container toggle-grey icon-search-1"></div> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> <div id="mobileSearch" class="mobile-locate-box-hidden"> <div class="mobile-search-container"> <div id="geocoderMobile"></div> <div id="btnCloseGeocoder" class="close-geocoder-button">Cancel</div> <div class="clear"></div> </div> </div> <div id="mapButtons" class="map-buttons"> <div id="LocateButton"></div> <div id="HomeButton"></div> </div> <div id="BasemapToggle"></div> <div id="mapDiv" dir="ltr"> <div id="swipeDiv"></div> </div> </div> </div>[/HTML]When I open up the page in my browser, and go to mapDiv_root in the console, I see that the logo div is not being added. See anything wrong with my code?