Question:What is the difference between calling a JavaScript function directly like onclick = "a()" and onclick="JavaScript:a()" where a() is a function written in JavaScript? 

A There is no difference 

B The first technique is correct, only the second is incorrect 

C The second statement is more efficient than the first 

D The first statement looks for a function a() written in any language, whether it is JavaScript or vbscript, and the second technique looks for a function a() specifically written in JavaScript 

+ Answer
+ Report
Total Preview: 672

Copyright © 2024. Powered by Intellect Software Ltd