I have almost finished the 1st part of my 1st web app...
I have serious problem with understanding how to handle JQM events and variables that should work for the entire page.
My app is here:
The problem is that when I select any customer in the 1st page I land on a detail page where I can add payments simply tapping on the month name.
Insert (or delete) in the database happens perfectly but my page refresh function doesn't work properly because I "lose" my variables from one function to the other.
I've tried using global variables like $.myVariables.variable without luck.
Something is wrong also probably with my events...
I do everything for the details page in the pagebeforeshow because if I use the pageinit it stops working.
Can someone provide specific help or, if not possible, also generic info? I am pulling my hair from days.