Events Webview blackberry的当前url
我已将webview添加到我的窗口中,如下所示Events Webview blackberry的当前url,events,blackberry,webview,load,appcelerator,Events,Blackberry,Webview,Load,Appcelerator,我已将webview添加到我的窗口中,如下所示 <Alloy> <Window> <WebView top="150" id="webContent" width="300px" height="300px" borderColor="red" borderWidth="2px" url="http://www.google.com"></WebView> </Window> <
<Alloy>
<Window>
<WebView top="150" id="webContent" width="300px" height="300px" borderColor="red"
borderWidth="2px" url="http://www.google.com"></WebView>
</Window>
</Alloy>
但每次我更改url时,它都会显示未定义的警报。它在IOS上运行良好
而且在BB的情况下,边框和边框颜色也不显示
请建议
也可以
$.webContent.addEventListener('load', checkState);
function checkState(e){
alert($.webContent.evalJS("document.title"));
}