pagecontainershow event not triggering
Hi,
I am using jquery-2.1.0 and jquery.mobile-1.4.2.
Earlier with
jquery.mobile-1.3.2 I was using 'pageshow' event to work with jChartFX library. Example:
$(document).on('pageshow', ".viewChartPage", function() {
//some code here
});
Now in
jquery.mobile-1.4.2,
'pageshow' is deprecated so I changed my code to:
$(document).on('pagecontainershow', ".viewChartPage", function()
{
//some code here
});
But Now This code never executes. What may be the issue? It is the same code I just changed the event name. Here '
viewChartPage
' is the class for JQM page like:
<div data-role="page" class="
viewChartPage" data-theme="a" data-dom-cache="true">
Thanks in advance.