r game, then you sometimes need to initialize the buttons that you will use on that page. One way to do that is to link in a JavaScript page from the loaded HTML page, and load the buttons there. However, sometimes that is not practical. In that case, do something like this:</p>
<pre><code>    var htmlView = function() {
        $(&#39;#main&#39;).empty();
        $(&#39;#main&#39;).load(&quot;/Data/newSections.html #barFoo&quot;,
            function() {
                // Init the button here
            