how to open and close dialog page with javascript?

This forum contains topics that were moved from Get Satisfaction
B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

how to open and close dialog page with javascript?

Post by B510 »

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?

Post by akokov »

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?

Post by Yurii Orishchuk »

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?

Post by akokov »

Great! Thanks.

Post Reply