Page 6 of 8

jquery popup as confirmation

Posted: Fri Feb 14, 2014 3:01 pm
by Maryna Brodina

@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


jquery popup as confirmation

Posted: Fri Feb 14, 2014 3:37 pm
by ciccio

thanks, perfect it works


jquery popup as confirmation

Posted: Wed Mar 19, 2014 5:49 am
by Venkat Ratnam

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.


jquery popup as confirmation

Posted: Wed Mar 19, 2014 7:09 am
by Nikita

Hello,

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


jquery popup as confirmation

Posted: Thu Apr 17, 2014 3:37 pm
by ciccio

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


jquery popup as confirmation

Posted: Thu Apr 17, 2014 11:44 pm
by Illya Stepanov

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.


jquery popup as confirmation

Posted: Mon May 05, 2014 7:56 pm
by Kateryna Grynko

Hi Ciccio,

Did you solve this?


jquery popup as confirmation

Posted: Fri May 09, 2014 8:04 am
by ciccio

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


jquery popup as confirmation

Posted: Fri May 09, 2014 1:49 pm
by Maryna Brodina

Hello!

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


jquery popup as confirmation

Posted: Fri May 09, 2014 1:59 pm
by ciccio

hi marina, thanks but not for know