Which of the following is the correct JavaScript syntax to access the element using HTML code? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
16 Sep 2022 11:08 AM study24x7 study24x7

Which of the following is the correct JavaScript syntax to access the element using HTML code?

A

getElementById ("availablecourse").innerHTML = See the list of availablecourse;

B

getId ("availablecourse") = "See the list of availablecourse";

C

getElement ("availablecourse").innerHTML = "See the list of availablecourse";

D

getelementbyid ("availablecourse").innerHTML = "See the list of availablecourse";

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles