Link to home
Start Free TrialLog in
Avatar of jdn717
jdn717

asked on

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

How is this any different from onclick="DoSomething();"  ?
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it is simply just an identifier for the function to be javascript.