Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > WebKit: handle events from HTML elements?

WebKit: handle events from HTML elements?
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2006
Status: Offline
Reply With Quote
Jan 24, 2006, 04:14 PM
 
Hi,

I'm a brand new (as in second-day) Mac developer. I'm trying to do something that's fairly simple under Windows: embed a browser within a window of mine, and handle events from HTML elements within a page rendered by the browser.

I've successfully embedded the browser (WebView) and read values from HTML elements (by crawling through the DOMHTMLDocument obtained through my WebView's main frame), but I haven't figured out a way to receive events from these elements (e.g., I want to run Objective-C code when the user clicks an HTML button in the embedded browser).

Does anyone have any ideas on this? Is it possible?

Thanks much,
Rich
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Jan 25, 2006, 12:44 AM
 
I don't know, but you may want to try the #webkit channel on irc.freenode.net if no one here answers the question.
     
Fresh-Faced Recruit
Join Date: Jan 2006
Status: Offline
Reply With Quote
Jan 25, 2006, 12:47 AM
 
Thank you for the tip. If I do try it and get some feedback, I'll post it here.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:25 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2