Skip to main content

Javascrin

Javascript that can be edited onscreen
Take a load of Javascrin code.
by Hercolena Oliver July 10, 2010
mugGet the Javascrin mug.

javascript:void(0)

What you just did. You were tired and your clumsy hand dragged one of the buttons above the Search Bar into the Search Bar. Don't worry, we've all been through this.
"- How tf does it know??"

You, right now in front of your screen after having accidentally searched for "javascript:void(0)".
by pragmatic moron June 6, 2020
mugGet the javascript:void(0) mug.

javascript:void(0)

What you just saw when you dragged a UI element into the search bar. This happens because web developers really like to use the HTML <a> element for buttons instead of the actual <button> element. You can give the element functionality by listening for its click event and doing things then, but the <a> element is intended for creating hyperlinks and as such won't work without a set href attribute (AKA the link that you are taken to when you click on it). Therefore, you can use the void JavaScript operator, which will return the value undefined. If the browser is told to go to undefined, it will just keep the current page open. void will also evaluate its operands first, so <a href="javascript:void(alert('you clicked me'))">click me</a> would show "you clicked me" when clicked, but most people would just use javascript:void(0) and alert "you clicked me" on the click event, as said before. Urban Dictionary uses the javascript:void(0) technique for some of its UI elements, so when you just dragged the browse (or categories, or cart) button into the search bar, and I know you did, its href attribute was copied into the search bar, and now you're looking at javascript:void(0) and contemplating your life choices.
guy 1: god fucking damn it i just dragged a ui element into the search bar and searched for javascript:void(0), thats so annoying why does it even happen

guy 2: it happens because people cant use the <button> element and have to use <a> for some reason
by rtxmorshu February 2, 2021
mugGet the javascript:void(0) mug.

Javascript

A nondeterministic markup language suspected to be Turing complete. Its users are often mistakenly called developers.
On the seventh day God took a shit and javascript was born.
by EducatedGuess March 4, 2018
mugGet the Javascript mug.

javascript

A computer programming language, provides a source of endless suffering for many poor middle-schoolers throughout the world (including myself).
"You have an assignment on javascript for summer break"
by stanley yelnats :') April 5, 2019
mugGet the javascript mug.

Javascript

The ultimate bloat machine, f**ck javascript all my homies use holy C
YO javascript is lit
It ain't
by anonymous September 15, 2020
mugGet the Javascript mug.

Javascript

A powerful, object-based, interpreted scripting language, created by Brendan Eich, most commonly embedded directly into HTML web pages to manage client-side interaction.
JavaScript is so beautiful and elegant it brings tears to my eyes. I love using it. It completes me as a person.
by Dan Fox June 24, 2003
mugGet the Javascript mug.

Share this definition

Sign in to vote

We'll email you a link to sign in instantly.

Or

Check your email

We sent a link to

Open your email