On 14/09/2009, at 1:41 PM, ziqian zhan wrote:
When first time welcome.html is loaded into webView from
-(void)awakeFromNib;, push the "change it" button on web page the
-(NSString*)getName function is called. The "hello world" is
replaced with
"hi I'm here.". But when welcome.html loaded aga
Hi all,
I'm a newbie of JavaScript. Now I want to call Cooca function from
JavaScript. Below is the code:
//testcontroller.h
#import
#import
@interface TestController : NSWindowController {
IBOutlet NSButton * button;
IBOutlet WebView * webView;
}
-(IBAction)loadPage:(id)sender;
-(NSString*)get