|
|
 |
RE: FN-FORUM: iframes, was: site check please
date posted 14th May 2007 14:03
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=3D=3D=3D'')") ?
$ is a commonly defined (but not built-in) Javascript function that acts =
as
a shortcut to getElementById().=20
=3D=3D=3D 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 =3D=3D "1"
This would not:
1 =3D=3D=3D "1"
Hope that helps,
Ben
--
Ben Johnson, Neogic Web Solutions
// design . development . managed hosting
w | http://www.neogic.com
t | +44 (0)1242 808 262
e | [EMAIL REMOVED]
|
 |
|