• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How can I get data from a javascript function in a WebView into the enclosing Cocoa App?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Beachball on Lengthy Task
  • Next by Date: Re: Very interesting ordering caveat with NSArray arrayWithObjects:
  • Previous by thread: Re: Beachball on Lengthy Task
  • Next by thread: NSXMLParser memory consumption
  • Index(es):
    • Date
    • Thread