By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

Safari and watch function

P: n/a
Like IE, Safari does not appear to support Object.watch().
Unlike IE, Safari also does not support onpropertychange.
Does Safari have a solution to watching a property for value
assignment?

thank you
Jul 9 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
an*********@gmail.com wrote:
Like IE, Safari does not appear to support Object.watch().
Unlike IE, Safari also does not support onpropertychange.
Does Safari have a solution to watching a property for value
assignment?
Microsoft JScript and Apple JavaScriptCore do not support Object.watch() or,
more appropriately, Object.prototype.watch() because this is a proprietary
feature of JavaScript, Netscape/Mozilla.org's ECMAScript implementation, as
supported by Netscape Navigator 4.x and Gecko-based user agents.

IE/MSHTML also does not support an `onpropertychange' property for native
objects which could provide for an alternative to that.

Since proprietary features like this are of little interest in a Web
context, you should look up the Safari documentation and source code for an
answer to your question, and report your findings here.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Jul 13 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.