0
Hello I am Javascript beginner and snooping the code of others I found the following excerpt:
javascript:nomeDeFuncao();
What does it do?
I’ve seen code like this:
nomeDeFuncao();
But this part of " "is news to me. (I found this by Devtools Breakpoints)
Thanks in advance for the help.
Hello young, very interesting. I can use this in other types of attributes?
– Wilton Ribeiro
yes: You can use for example: onClick="javascript:foo()".
– Jefferson Silva
onClick="foo()" would work too
– Jefferson Silva
To the staff that is negatively, it is important to inform the reason.
– Jefferson Silva