• 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
Re: Setting the result of a javascript function to NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting the result of a javascript function to NSString (From: Alex Mills <email@hidden>)

  • Prev by Date: Re: Newbie Memory Questions on a Code Fragment
  • Next by Date: Limiting NSTextField to numbers?
  • Previous by thread: Re: Setting the result of a javascript function to NSString
  • Next by thread: Re: Setting the result of a javascript function to NSString
  • Index(es):
    • Date
    • Thread