jquery popup as confirmation
@ciccio please replace this line pre$dlg.find( '.dlg_text' ).text( text '' );/pre with pre$dlg.find( '.dlg_text' ).html( text '' );/pre and use < br tag to add new line
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
@ciccio please replace this line pre$dlg.find( '.dlg_text' ).text( text '' );/pre with pre$dlg.find( '.dlg_text' ).html( text '' );/pre and use < br tag to add new line
thanks, perfect it works
I have used MessageDialog code. it works fine but the problem is before the dialog pops up, the code after the dialog is executing. How to avoid that.
Hello,
Which code is executed, when you say "code after the dialog is executing"? Is this the code on load event for popup?
i have a problem with the message dialog. I have a list and when a user click on a list item and some condition is verified the message dialog appears, but testing the app on the appery tester on ios7 mobile when the user click on the ok button in the message dialog another list item is clicked it seems that the ok button is "trasparent" and the click goes trough the ok button and click on the list item that is on the back of the message dialog.
If i test the app on the appery tester on my pc descktop the problem does not occur and everything is ok
Hi ciccio - have you shared your app with us? (a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a) If not, please share it.
Hi Ciccio,
Did you solve this?
Thanks for your interest Katya
i solved by changing the html. I'm using the message dialog instead of alert so i deleted code<a href="#" data-role="button" class="okButton" data-inline="true" data-theme="c">OK</a>
<a href="#" class="noButton" data-role="button" data-inline="true" data-transition="flow" data-theme="b">NO</a>
<a href="#" class="cancelButton" data-role="button" data-inline="true" data-transition="flow" data-theme="b">Cancel
</a> /code
and added a button starting from the code proposed by http://demos.jquerymobile.com/1.2.0-b...
code....<div data-role="popup">
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a>
...popup contents go here...
<>/code
i used the dialog instead of basic alert because the header of the js alert is not workig properly in ios (the name of the page file is showed in js alert on ios)
anyway my solution doesn't work for confirmation dialogs
Hello!
I'm sorry, not sure I understand if you still need help?
hi marina, thanks but not for know