Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

jquery popup as confirmation

@ciccio please replace this line pre$dlg&#46;find( '&#46;dlg_text' )&#46;text( text '' );/pre with pre$dlg&#46;find( '&#46;dlg_text' )&#46;html( text '' );/pre and use < br tag to add new line

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

jquery popup as confirmation

thanks, perfect it works

Venkat Ratnam
Posts: 0
Joined: Wed Mar 19, 2014 5:49 am

jquery popup as confirmation

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.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

jquery popup as confirmation

Hello,

Which code is executed, when you say "code after the dialog is executing"? Is this the code on load event for popup?

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

jquery popup as confirmation

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

jquery popup as confirmation

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

jquery popup as confirmation

Hi Ciccio,

Did you solve this?

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

jquery popup as confirmation

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&#46;&#46;&#46;&#46;<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>
&#46;&#46;&#46;popup contents go here&#46;&#46;&#46;
<>/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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

jquery popup as confirmation

Hello!

I'm sorry, not sure I understand if you still need help?

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

jquery popup as confirmation

hi marina, thanks but not for know

Return to “Issues”