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