JavaScript - Conditional statement, cross windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • azmaguey3
    New Member
    • Jun 2010
    • 1

    JavaScript - Conditional statement, cross windows

    1) A key difference between the W3C and MS event model is that:
    A) MS model does not support event capturing.
    B) W3C model does not support event bubbling.
    C) W3C model treats event handling as a global function and not a method of the HTML element it's registered on.
    D) None of the above.

    2) How do you write a conditional statement for

    executing some statements only if "i" is equal to 5?

    a) if ( i = =5)
    b) if ( i = = = 5)
    c) Both a and b
    d) None of the above

    I'm confuse........ ...

    3) Cross window communication usually requires data sharing between windows and it is only possible when _____.
    A) both windows contain pages that are part of the same domain
    B) both windows contain pages that are part of the same sub domain
    C) one window contains a reference to the other
    D) all of the above
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    what's that? a test ... that we should solve for you? what is your question?

    Comment

    Working...