如果那么从jquery移动弹出窗口

时间:2014-12-01 22:34:42

标签: javascript php jquery jquery-mobile

我在网上搜索:

我想在变量等于0时显示一个jquery移动样式的弹出窗口。

我从javascript尝试了各种解决方案,但没有成功。

<div data-role="page" id="indexpage">
    <div data-role="popup" data-history="false" id="popupBasic"><br> Nothing to show     <br><br>
    </div>
</div>

if ($aantal_opnames === 0 ){
// show popup here

}

我该如何调用它?

0 个答案:

没有答案