Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: jQuery Quer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 21 Topic 36376 of 37156
Post > Topic >>

Re: jQuery Query about comparing jQuery references

by Thomas 'PointedEars' Lahn <PointedEars@[EMAIL PROTECTED] > Jul 26, 2008 at 03:17 AM

dhtml wrote:
> On Jul 25, 3:48 pm, "Aaron Gray" <ang.use...@[EMAIL PROTECTED]
> wrote:
>> "Thomas 'PointedEars' Lahn" <PointedE...@[EMAIL PROTECTED]
> wrote:
>>> therefore the equals operation does not need to work like with native
>>> objects.  (Nevertheless, no hard proof has been provided yet of an
>>> implementation showing different behavior.)
> 
> How about the window object in MSIE?

Maybe you should search the archives before you post an argument.

> <script>
> window.foo = function() { alert([this.do***ent == window.do***ent,
> this == window]); };
> foo();
> </script>
> 
> IE: alert "true, false"
> All other browsers would alert "true, true"

This is exactly the lack of hard proof that I was talking about.

> Though it is likely that the unexpected result is caused by the
> identity of "window" and "this" being different (a "cloned" window)
> and probably not bug of the equals operator.

I did not suggest the cause of a perceived inequality was a bug.  In fact,
the behavior observed here is standards compliant regarding the equals
operation.


PointedEars
-- 
var bugRiddenCrashPronePieceOfJunk = (
    navigator.userAgent.indexOf('MSIE 5') != -1
    && navigator.userAgent.indexOf('Mac') != -1
)  // Plone, register_function.js:16
 




 21 Posts in Topic:
jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 15:41:15 
Re: jQuery Query about comparing jQuery references
Henry <rcornford@[EMAI  2008-07-25 08:17:11 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 19:08:52 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-25 22:56:56 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 23:00:58 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 00:25:30 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 00:19:13 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 23:48:02 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-25 11:45:01 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 20:38:31 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-25 16:50:30 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 03:17:53 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-25 18:39:34 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 04:25:49 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-26 00:23:39 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 13:01:51 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-26 10:25:29 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 21:32:17 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-26 16:16:25 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-27 14:51:21 
Re: jQuery Query about comparing jQuery references
Lasse Reichstein Nielsen   2008-07-27 15:53:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 21:00:31 CDT 2008.