javascript - Jquery mobile popup from php with if then -


i searched net on this:

i want show jquery mobile styled popup when variable equals 0.

i tryed various solutions javascript no succes.

<div data-role="page" id="indexpage">     <div data-role="popup" data-history="false" id="popupbasic"><br> nothing show     <br><br>     </div> </div>  if ($aantal_opnames === 0 ){ // show popup here 

}

how can invoke ?


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -