JQM- Popup not opening on .popup("show") in JQM 1.4.4, PhoneGap android 4.4.2

JQM- Popup not opening on .popup("show") in JQM 1.4.4, PhoneGap android 4.4.2


Hi,

 I am want to add popup widget to my app and It should open by .popup("show") method.

I have popup like :

  1. <!-- Popup  -->
  2.   <div data-role="popup" id="mob_pop" class="ui-content">
  3.       <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a>
  4.       <label><b style="color:grey;">Prospect Mob. number</b></label><br>
  5.       <p>
  6.         <input type="text" maxlength="10" name="cust_mob" id="check_cust">
  7.         <a class="ui-btn ui-btn-inline ui-corner-all">Submit</a>
  8.       </p>
  9.      
  10.     </div>
  11.   <!-- End of pop up -->

I have tried using :

  1. <a href="#mob_pop" data-transition="slideup" data-rel="popup" data-position-to="window" ><img data-rel="popup" id="reg_icon"></a>
. It is working fine with above one.But when i am using $("#mob_pop").popup('open'). It is not working

Why it is not working?