[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

In javascript, what does " javascript: " do in 'onclick="javascript:DoSomething();' ?

How is this any different from onclick="DoSomething();"  ?
0
jdn717
Asked:
jdn717
1 Solution
 
leakim971PluritechnicianCommented:
if you have more than on scripting language in your page it make more sense else... no difference
0
 
eNarcCommented:
it is simply just an identifier for the function to be javascript.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now