what i did is created the outlet to my webview, made the webview load
an html file that contains all my JS functions and then call it like so.
NSString *command = [[NSString alloc]
initWithFormat:@"addMarkerAtPoint(%f, %f, 13, \"%...@\");", [location
latitude], [location longitude], [locat
On Jan 20, 2009, at 11:06 PM, Alex Mills wrote:
I have built a Javascript WYSIWYG editor. I want to build a WebKit
based cocoa app with buttons that can call a function from the
editor loaded in webkit. For example I want to have a button within
the Cocoa interface that calls the Javascript
On 20 Jan 2009, at 22:06:52, Alex Mills wrote:
Hey,
I have built a Javascript WYSIWYG editor. I want to build a WebKit
based cocoa app with buttons that can call a function from the
editor loaded in webkit. For example I want to have a button within
the Cocoa interface that calls the Jav
Hey,
I have built a Javascript WYSIWYG editor. I want to build a WebKit based cocoa
app with buttons that can call a function from the editor loaded in webkit. For
example I want to have a button within the Cocoa interface that calls the
Javascript function 'makeBold()' to make the selected te