Re: Setting the result of a javascript function to NSString
Re: Setting the result of a javascript function to NSString
- Subject: Re: Setting the result of a javascript function to NSString
- From: Mike Abdullah <email@hidden>
- Date: Wed, 21 Jan 2009 15:39:29 +0000
WebKit has a full Obj-C DOM API which you can access starting at -
[WebFrame DOMDocument]
From there it should be fairly easy to locate your iframe and grab
it's inner HTML.
Mike.
On 21 Jan 2009, at 13:56, Alex Mills wrote:
Hey,
The Javascript based editor is here http://www.alexmillsdesign.com/Developer/FernEngine/Default.htm
From Cocoa I want to get the 'innerHTML' from the iFrame and store
it in a NSString.
What would be the best way of accomplishing this?
Cheers Guys, very much appreciated your help so far!
Cheers
Alex Mills
_______________________________________________
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
_______________________________________________
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