About 1,710,000 results
Open links in new tab
  1. What does "javascript:void (0)" mean? - Stack Overflow

    Aug 18, 2009 · Usage of javascript:void(0) means that the author of the HTML is misusing the anchor element in place of the button element. Anchor tags are often abused with the onclick …

  2. What is the point of void operator in JavaScript? - Stack Overflow

    92 I've seen some people using void operator in their code. I have also seen this in href attributes: javascript:void(0) which doesn't seem any better than javascript:; So, what is the justification of …

  3. javascript - What does `void 0` mean? - Stack Overflow

    Dec 5, 2012 · Reading through the Backbone.js source code, I saw this: validObj[attr] = void 0; What is void 0? What is the purpose of using it here?

  4. Help me understand javascript:void(null) - Stack Overflow

    May 19, 2010 · 17 void is a JavaScript operator but is sometimes mistaken for a function because of the common use of brackets that follow it. The intended purpose of void is to evaluate an …

  5. javascript void functions - Stack Overflow

    The void operator is often used merely to obtain the undefined primitive value, usually using "void (0)" (which is equivalent to "void 0"). In these cases, the global variable undefined can be used …

  6. Which "href" value should I use for JavaScript links, "#" or ...

    Sep 26, 2008 · Explains the difference between using "" and "javascript:void(0)" as href values in JavaScript links.

  7. href="javascript:" vs. href="javascript:void (0)" - Stack Overflow

    26 When using javascript: in navigation the return value of the executed script, if there is one, becomes the content of a new document which is displayed in the browser. The void operator …

  8. Что такое javascript:void (0);? - Stack Overflow на русском

    Jan 8, 2015 · void(0) — это выражение, получающееся приведением типа константы 0 к void. То есть простое ничего не значащее выражение. Ссылка в таком виде просто ничего не …

  9. javascript - Why use the void keyword? - Stack Overflow

    Mar 5, 2013 · The void is an important keyword in JavaScript which can be used as a unary operator that appears before its single operand, which may be of any type. This operator …

  10. ¿Qué significa “javascript:void(0)” en href de la etiqueta a?

    Jun 8, 2017 · El operador void evalúa la expresión dada y devuelve undefined La razón de usar esta expresión en un href de un link es porque este atributo produce una redirección a una …