How can I get data from a javascript function in a WebView into the enclosing Cocoa App?
How can I get data from a javascript function in a WebView into the enclosing Cocoa App?
- Subject: How can I get data from a javascript function in a WebView into the enclosing Cocoa App?
- From: Darren Wheatley <email@hidden>
- Date: Sat, 04 Apr 2009 12:39:19 +0100
Hi,
I'm writing an application that renders a web page in a web view.
The web page contains an image that the user can click on. There are
Javascript events that get called when the user clicks on the image.
These events contain the coordinates of the point the user clicked on.
I need to be able to get the coordinates out of the web view and back
into the enclosing Cocoa application.
Is this possible, and if so, could anyone suggest how this could be done?
Thanks
Darren.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden