in Education by
Which of the following is defined by the specification? (a) dataMethod (b) input (c) inputMethod (d) inputdataMethod The question was posed to me at a job interview. My doubt stems from Drag and Drop Events topic in chapter Document Object Model and Event Handling in Javascript of JavaScript Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Right option is (c) inputMethod To explain I would say: The specification defines an inputMethod property on the event object and a set of constants representing different kinds of text input (keyboard, paste or drop, handwriting or voice recognition, and so on). prompt function is a kind of input method.

Related questions

0 votes
0 votes
    The decodeURIComponent() is defined by _____________ (a) Server-side JavaScript (b) Client-side JavaScript ( ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    Which of the following is not pre defined annotation in Java? (a) @Deprecated (b) @Overriden (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Event class is defined in which of these libraries? (a) java.io (b) java.lang (c) java.net (d ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    Which of these are constants defined in WindowEvent class? (a) WINDOW_ACTIVATED (b) WINDOW_CLOSED (c) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these methods is defined in MouseMotionAdapter class? (a) mouseDragged() (b) mousePressed() (c) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    The necessary globals of a node are defined under which namespace? (a) variables (b) system (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What type of variable can be defined in an interface? (a) public static (b) private final (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What happens when a constructor is defined for an interface? (a) Compilation failure (b) Runtime Exception ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following keyword is used by calling function to handle exception thrown by called function? (a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 25, 2021 in Education by JackTerrance
...