I'm trying to work through the examples in a textbook entitled "jQuery Mobile Web Development Essentials - Secnd Edition". I'm using this version of jquery "https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"
as well as this version of css "https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.css" and this version of jquery mobile "https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js".
I'm currently stuck in the last example given in chapter 10 with this block of code:
jq('#homepage').bind('pagebeforecreate', function(event)
{
alert("THE 'pagebeforecreate' EVENT JUST FIRED.");
});
which does not seem to be firing. I say this because the alert inside the block is never displayed. So I'm kind of curious why its not firing and if its a syntax problem where the error is since when I open up Chrome's javascript console it doesn't seem to indicate anything is syntactically incorrect with my jquery code?
Does anybody have any idea why its not working?
Thanks in advance for the help.