-
Which attribute is used for activation of JavaScript?
-
- submit
- url
- checkbox
- button
- None of these
Correct Option: D
Input type button is used for the activation of JavaScript on the clicking of the button. Its syntax is <input type=”button” value=”click” onclick=”source()”>. This will display a button named click and when we click that button JavaScript function source() will be invoked.