|
|
 |
RE: FN-FORUM: iframes, was: site check please
date posted 14th May 2007 14:19
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Ben
> Johnson (Neogic) F
> Sent: 14 May 2007 14:09
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: RE: FN-FORUM: iframes, was: site check please
>
>
> Phil wrote:
> > Nice. Just a couple of points though, is $() defined somewhere else as
> > something doing getElementById()? And are the three equals signs
> together
>
> > a typo (on the line "if(sTmp==='')") ?
>
>
> $ is a commonly defined (but not built-in) Javascript function that acts
> as
> a shortcut to getElementById().
>
> === is the standard JavaScript 'Identity' operator - the items being
> compared must be equivalent and of the same type (no automatic type
> conversion).
>
> Where this would be true:
>
> 1 == "1"
>
> This would not:
>
> 1 === "1"
>
> Hope that helps,
I see, thanks
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/803 - Release Date: 13/05/2007
12:17
|
 |
|