.on() method in jQuery 1.9 does not work after upgrading from .live() method in version 1.8
<p>I am trying to upgrade jQuery program from version 1.8 to 1.9. In earlier version .live() method worked fine but new .on() method does not. The parameter "KenID" sent to the web service retrieving data is "undefined" and hence no data is returned. This parameter is set as sessionStorage item so I guess the .on() method does not have an access to it. What steps should I take to make it work?</p>

<p>Working program (jQuery 1.8):</p>

<pre><code>$('#AddrList').live('pagebeforeshow', function (e, data)
    {
        alert(sessionStorage.KenID);    // shows correct KenID
        $.ajax({ 
            // extracting required data by sending KenID to the web service
        });
});
</code></pre>

<p>NOT working program (jQuery 1.9):</p>

<pre><code>$(document).on('pagebeforeshow', '#AddrList', function (e, data)
    {
        alert(sessionStorage.KenID);    // shows "undefined"
        $.ajax({
            // extracting required data by sending KenID to the web service
        });
});
</code></pre>

<p>Thank you,
Jacek</p>
