Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
onclick="changelanguage(@chlang.LanguageId)" href="javascript:void(0);"
thank you!!
Posted

You should use internet search more frequently...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void[^]
 
Share this answer
 
Comments
Member 11919288 7-Sep-15 7:27am    
thank you very much helped me!
Sergey Alexandrovich Kryukov 7-Sep-15 13:08pm    
5ed.
—SA
Kornfeld Eliyahu Peter 8-Sep-15 1:47am    
Thank you...
It stops the browser navigating somewhere when the user clicks the link, so the only thing that happens is your "onclick" code is executed.
 
Share this answer
 
Comments
Member 11919288 7-Sep-15 7:27am    
thank you very much helped me!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900