Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alert don't appear



On Jun 23, 2004, at 7:49 AM, Mark Thomas wrote:

I have my container working and the JavaScript seems happy, but I never
get any JavaScript alert dialogs appearing, Do I have to handle these myself
or do I need to do something to make the default behavior to work as display
I'm not interested in intercepting the text.

The default is to do nothing for alerts. To make your application do something when JavaScript asks for an alert, you'll need to implement the runJavaScriptAlertPanelWithMessage method on the UI delegate.


http://developer.apple.com/documentation/Cocoa/Reference/WebKit/ ObjC_classic/Protocols/WebUIDelegate.html

    -- Darin
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Alert don't appear (From: Mark Thomas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.