|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It works flawlessly except the fact that if I come from another page it won't work if I don't reload the page containing the script.
I've tried pagecreate, pageinit, pageaftercreate, all without success...
I have added a console.log("test"); to check if the code was executed but it was never executed (unless I reload the page containing it). What am I doing wrong? Thanks |