Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Using HTML button tag, JavaScript command can be executed by using ____ function.
Home
JavaScript
Using HTML button tag, JavaScript command can be executed by using ____ function.
+1
vote
asked
Feb 6, 2020
in
JavaScript
by
rajeshsharma
Using HTML button tag, JavaScript command can be executed by using ____ function.
"alert('Button1');"
"alert('Button");"
"alert('Button1');
"alert(Button1);"
#javascript-command
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 7, 2020
by
SakshiSharma
"alert('Button1');
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+1
vote
Q: What is button tag in HTML?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
button-tag
button-html
html-button
0
votes
Q: Give a list of the various ways using which an HTML element can be accessed within a JavaScript code?
asked
Sep 19, 2021
in
JavaScript
by
sharadyadav1986
html-element
0
votes
Q: An HTML program is saved by using the ____ extension.
asked
Jan 29, 2021
in
HTML
by
rajeshsharma
#html-extension
html-file-extension
file-extension-html
0
votes
Q: How can you hide an HTML element just by a button click in angular?
asked
Jan 15, 2020
in
Angular
by
rahuljain1
#angular-html
0
votes
Q: What are the different ways a JavaScript code can be involved within an HTML file?
asked
Sep 19, 2021
in
JavaScript
by
sharadyadav1986
javascript-code
html-file
0
votes
Q: Which tag is executed by default while running a Playbook? all -- tagged None of the options always
asked
Feb 12, 2020
in
Ansible
by
miceperry
0
votes
Q: In JavaScript, object is a container of properties and functions. Properties are identified by ____ and behavior is identified by
asked
Feb 6, 2020
in
JavaScript
by
rajeshsharma
#javascript-variables
0
votes
Q: How to write HTML code dynamically using JavaScript?
asked
Jun 9, 2022
in
JavaScript
by
sharadyadav1986
html-code
javascript-code
+1
vote
Q: If the following piece of JavaScript code is executed, will it work if not, what kind of possible error can occur?
asked
Mar 21, 2021
in
JavaScript
by
rajeshsharma
javascript
javascript-code
code-output
0
votes
Q: How do you capture browser back button in Javascript?
asked
Oct 22, 2023
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
...