A页面方法:
function openUrl(tourl) {
var st = plus.webview.create(tourl, "h_study", {
softinputMode: 'adjustPan'
});
st.show();
}
function aaa(){
alert(111);
}
openUrl('http://sssssssss.ssssss.sss');
B页面想调用A页面的aaa方法
A页面方法:
function openUrl(tourl) {
var st = plus.webview.create(tourl, "h_study", {
softinputMode: 'adjustPan'
});
st.show();
}
function aaa(){
alert(111);
}
openUrl('http://sssssssss.ssssss.sss');
B页面想调用A页面的aaa方法
1 个回复
回梦無痕 - 暂停服务
A页面:
B页面: