用JS来调用pop
将需要调pop的控件添加上onclick事件,调用一下方法
js代码:
<script type=
"text/javascript"
>
function
Beneficiary(){
$(
'#popupBasic'
).popup(
'open'
);
}
</script>
<div data-role=
"popup"
id=
"popupBasic"
>This
is
a completely basic popup, no options
set
.</div>