$( "#tick" ).dialog( "destroy" );
this is working
i got it
Hi,
Thank you for the update! Lat us know if you need any help.
Is there a way to "wait" until the dialog is done?
If I want the app to show a login dialog, and when the dialog closes (with success) i change the view to logged in.
I mean I could set a local variable when the login services ends successfully and have a while loop that checks the variable but that is just dirty.
I.e. if I do this:
Appery.navigateTo('LoginRegister');
alert("After dialog");
Appery("MainLoginButton").text("Logout").button('refresh');
Then the alert is shown immediately when the dialog is shown. I'd like for it to be shown when the dialog closes.
And I cannot connect events from the dialog to the mainapp
Hello Jarl,
You can use dialog's events "Page show" and "Page hide".
No I can't. I know how to show/hide a dialog. What I want to is to "pause" the function calling it until it is closed. Run it as a modal..
The only one way is using promises:
https://developer.mozilla.org/en/docs...
2)!= ""04"" ) { Appery('lbl_status').html(""font color=\""#FF0000\""This is not aus no./font""); return; } pls check here http://appery.io/app/view/2aa23e01-a137 ... Login.html entring 0412345678 will show popup and 0412345677 will not show popup "