Quantcast
Channel: void(0) clarification in Javascript? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by raina77ow for void(0) clarification in Javascript?

If you specify javascript: something as a value of href attribute, this something will be evaluated when someone activates that link.The result of this evaluation will be checked: if its typeof...

View Article



Answer by I Hate Lazy for void(0) clarification in Javascript?

This will not work properly:href="javascript:return false;"because you are not in a function. You are thinking of this:onclick="return false;"which is correct since return false; is placed in a...

View Article

void(0) clarification in Javascript?

After reading both : difference between "void 0 " and "undefined" , https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/voidI still have some questions.I've read that...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images