我在这里做错了什么,我想将以下 div 标签添加到现有的 html
<div id="trendHost" style="display:inline-block; margin: 0; width:100%; position: relative;">
<h2 id="h1" style="clear:both; display:block;">Trend</h2>
<div id="fmQtrChartPr" style="display:inline-block; width:100%; height:150px; position: relative; left: 0px; top: 0px;"> </div>
</div>
jQuery
var id = 'trendHost';
jQuery('#trendHost').prepend("<p>Text</p>")
jQuery('#' + id).prepend('<div style="position:absolute; padding:20px; top:36px; background-color:#FFF; color:#444;"><span style="font-size:13px;">Currently Unavailable</span><br/><span>' + message + '</span></div>');