Question:The following statements show two ways of calling a JavaScript function: i)onclick ="a();" ii)onclick="JavaScript:a();" Which of the following options is correct with regard to the above two statements?
A There is no difference between the two statements
B The first statement is incorrect and the second one is correct
C The first statement is correct and the second statement is incorrect.
+ AnswerA
+ Report