|
Need good Index reference
I was wondering if anyone has found a really cool site that maybe list all the commands for javascript for example!
1. &&
2. <=
3. when to use ' or " ext...
the reason I am wondering is I am trying to figure out what && stands for bassically what it does
the code I am useing it in is the following
var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
if(ie) {
doc = "document.all";
sty = ".style";
htm = "";
}
if(ns) {
doc = "document.layers";
sty = "";
htm = ".document";
}
if(w3) {
doc = "document.getElementById("") && !ie";
sty = ".style";
htm = "";
}
but the last one doesnt work i am trying to write the 3rd one yet I cant get it to work
|