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. 

+ Answer
+ Report
Total Preview: 861

Copyright © 2024. Powered by Intellect Software Ltd