Fiddle does not work when I use latest version of jQuery
<p>Why does this fiddle just work when I use jQuery 1.5.2 ?</p>

<p><a href="http://jsfiddle.net/azZVk/17/" rel="nofollow">http://jsfiddle.net/azZVk/17/</a></p>

<p><img src="http://i.stack.imgur.com/D2Bjy.png" alt="enter image description here"></p>

<p>When I set it to jQuery 1.7.2 nothing is displayed</p>

<p><img src="http://i.stack.imgur.com/gcDKu.png" alt="enter image description here"></p>

<p>With jQuery Mobile 1.0.1 unselected here is display : </p>

<p><img src="http://i.stack.imgur.com/VeFV2.png" alt="enter image description here"></p>

<p>Wheras this should be displayed : </p>

<p><img src="http://i.stack.imgur.com/LXONS.png" alt="enter image description here"></p>

<p>Fiddle code : </p>

<pre><code>&lt;div data-role="page" id="firstpage"&gt;

        &lt;div data-role="header"&gt;
                &lt;h1&gt;First Page&lt;/h1&gt;
        &lt;/div&gt;

&lt;div data-role="content" id="links"&gt;

&lt;/div&gt;

        &lt;div data-role="footer"&gt;
                &lt;h4&gt;Page Footer&lt;/h4&gt;
        &lt;/div&gt;

&lt;/div&gt;

&lt;div data-role="page" id="secondpage"&gt;

        &lt;div data-role="header"&gt;
                &lt;a href='#' class='ui-btn-left' data-icon='arrow-l' onclick="history.back(); $('#pagecontent').empty(); return false"&gt;Back&lt;/a&gt;&lt;h1&gt;Bar&lt;/h1&gt;
        &lt;/div&gt;

        &lt;div id="pagecontent" data-role="content"&gt;

        &lt;/div&gt;

        &lt;div data-role="footer"&gt;
                &lt;h4&gt;Page Footer&lt;/h4&gt;
        &lt;/div&gt;
&lt;/div&gt;

$(document).ready(function() {

for (var i = 0; i &lt; 4; i++) {  
    $('#links').append(buildButton());     
}

   function buildButton() {
    var button= '&lt;a data-role="button" href="#secondpage" data-theme="c" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-up-c"&gt;&lt;span class="ui-btn-inner ui-btn-corner-all"&gt;&lt;span class="ui-btn-text"&gt;Link Button&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;';

    return $(button).click(function () {
        $("#secondpage").data("val", "test value")
    });       
   }

    $('#secondpage').live('pageshow', function() {
        var val1= $(this).data('val');
        $("#pagecontent").html(val1);
        console.log('val is '+ val1);
    });

});
</code></pre>
