Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Events Webview blackberry的当前url_Events_Blackberry_Webview_Load_Appcelerator - Fatal编程技术网

Events Webview blackberry的当前url

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> <

我已将webview添加到我的窗口中,如下所示

<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"));
}