Posted By

iloveitaly on 07/12/09


Tagged

javascript js window cocoa panel alert webview


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

illogic


WebView Alert Panel


 / Published in: Objective C
 

URL: http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00030.html

  1. - (void)webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame
  2. {
  3. NSBeginInformationalAlertSheet(@"Alert", nil, nil, nil, [sender window], nil, NULL, NULL, NULL, message);
  4. }

Report this snippet  

You need to login to post a comment.