Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    51° 03' -78" N -114° 05' 72" W
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not really sure what your try to do. Are you trying to make a sniffer?

    Here's a link for you

    http://www.devguru.com/Technologies/...ipt_index.html

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    && is a logical operator, not a "command". It compares its two operands and checks if they are equal, and if so, the comparison returns true, and otherwise false.

    For a reference site, try http://devedge.netscape.com/library/manuals/

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Location
    51° 03' -78" N -114° 05' 72" W
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks! Mordred That is exactly what I was looking for


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •