Am 01.05.2011 um 18:23 schrieb Aaron Andrew Hunt:

> The following do not seem to work in WebViewMBS.EvaluateJavascript()
> 
> alert

To have alert working, you need to implement WebUIDelegateMBS subclass and add 
code to the RunJavaScriptAlertPanelWithMessage event.

> document.getElementsByTagName
> document.getElementById
> document.getElementByName

in the webview.rbp example project I added a button with this code:

MsgBox n.EvaluateJavaScript("document.getElementsByTagName('div').length")

it shows 19 for me, so this function works. And I believe the others work too. 
The plugin only implements the call to javascript engine and has no influence 
on what the engine can do.

> Also, does this method need to be update for HTML5?

No. 

Greetings
Christian

-- 
See you in Essen, Germany at the REAL Studio Conference 2011

Registration and details here:
http://www.realsoftware.de/events/realcon2011essen/


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to