Possible Duplicate:
What does “javascript:void(0)” mean?
I want to ask a few questions regarding javascript:void(0)
<input type='submit' name='btn' value='submit' onClick='javascript:void(0)' />
Can you please explain void(0)
- is it a built-in function? Does the keyword javascript
represent that the code is written in javascript? If there is anything weird that you know about it, please share it with me. Thank you.