我正在尝试替换下面的数据主题的内容
在函数和页脚内部工作....
     $(this).find('[data-role="footer"] h4').html(siteData.name);
     $(this).find("data-theme").html(siteData.theme);
HTML
<div data-role="page" id="index">
    <div data-theme="a" data-role="header">
        <h3></h3>
    </div>
    <div data-role="content">
    </div>
    <div data-role="footer">
        <h4>Page Footer</h4>
    </div><!-- /footer -->
</div>
我要做的就是替换数据主题的“a”中的内容
正确的方法是什么?