Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Close all popups in jquery mobile

I am working with JQM and need to close any 'open' popups.

Is there a way to close any currently 'open' popups in JQM?

lee

like image 354
Lee Loftiss Avatar asked Mar 31 '13 05:03

Lee Loftiss


1 Answers

I found an answer. For anyone else looking to do this, here is the trick:

$('.ui-popup').popup('close');

lee

like image 83
Lee Loftiss Avatar answered Sep 22 '22 07:09

Lee Loftiss