1. Question: How would you use a timer with a function called rearrange()?

    A
    tmr=setTimeout("rearrange ()",1)

    B
    tmr=Timer(1,"rearrange ()")

    C
    tmr=Timer("rearrange ()",1)

    D
    tmr=setTimeout(1,"rearrange ()")

    E
    None

    Note: Not available
    1. Report
  2. Question: You want to validate the value in a field as soon as the user moves out of the field by pressing the tab key. Which event would you use?

    A
    onblur

    B
    onfocus

    C
    lostfocus

    D
    gotfocus

    E
    None

    Note: Not available
    1. Report
  3. Question: You want to display an alert to the user which contains a ' character. Which character would you use to escape the ' character?

    A
    /

    B
    \

    C
    @

    D
    #

    E
    ~

    Note: Not available
    1. Report
  4. Question: What would be the value of 'ind' after execution of the following code?
    var msg="Welcome to ExpertRating"
    var ind= msg.substr(3, 3)

    A
    lco

    B
    com

    C
    ome

    D
    Welcome

    E
    None

    Note: Not available
    1. Report
  5. Question: What is the output of following JavaScript code?  
    <script type="text/javascript">   
     x=4+"4";
     document.write(x); 
    </script>

    A
    44

    B
    8

    C
    4

    D
    Error outpur

    Note: Not available
    1. Report
  6. Question: JavaScript is not server side language in web technology

    A
    True

    B
    False

    Note: Not available
    1. Report
  7. Question: It is ideal to use JavaScript inside the <head> and <body> tags in the web document.

    A
    True

    B
    False

    Note: Not available
    1. Report
  8. Question: prompt() is not an input function in JavaScript.

    A
    True

    B
    False

    Note: Not available
    1. Report
  9. Question: "bgColor" is not a document property.

    A
    True

    B
    False

    Note: Not available
    1. Report
  10. Question: JavaScript is an interpreted language.

    A
    True

    B
    False

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd