B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

how to open and close dialog page with javascript?

Dear All,

How to open and close dialog page with javascript?

please help

thanks

akokov
Posts: 0
Joined: Fri Aug 13, 2010 7:50 am

how to open and close dialog page with javascript?

This No answer, sorry.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

how to open and close dialog page with javascript?

Hi Andriy,

You can open dialog page with following JS code:

pre

navigateTo("okDialog");

/pre

To close it you can navigate to previous page with code below:

pre

$.mobile.back();

/pre

Regards.

akokov
Posts: 0
Joined: Fri Aug 13, 2010 7:50 am

how to open and close dialog page with javascript?

Great! Thanks.

Return to “Issues”