Skip to main content
Urban Dictionary Merch
Your favorite words on things you can wear, drink from, read, or give to a friend.
The Urban Dictionary Store sells gifts you’ll have to explain.

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)".

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
javascript:void(0) by rtxmorshu February 2, 2021

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.
Javascript by EducatedGuess March 4, 2018

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"

Javascript 

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

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.
Javascript by Dan Fox June 24, 2003
More from Urban Dictionary

briefcake 

"Did you check out the briefcake in courtroom C?"
briefcake by Ben Frey April 6, 2006
Word of the Day on November 3, 2026
Brought to public attention by Bob Woodward and Carl Bernstein in the book on the fall of Richard Nixon, All The President’s Men, ratfucker was Nixon’s term for a political operative who sows chaos among opponents; an agent provocateur. It is thought to have originated among campus political rivalries at USC, and seems to have some usage in the US military.
Along with Nixon’s other ratfuckers, Roger Stone caused fights at otherwise peaceful Democratic Party protests to generate a false narrative that the Democrats were violent and dangerous.
Ratfucker by Ricky Ramjet November 2, 2017
Word of the Day on November 2, 2026

countrypolitan 

Term used to describe someone who is a mix of both rural (country) and urban (metropolitan) lifestyles/upbringings. He/she is typically equally comfortable in both settings and is able to seamlessly slip back and forth between the two, appreciating the characteristics of each.
That ol' gal of mine drives the 12 lane freeway during the week and a John Deere on the weekends. She likes opra and the Grand Ol' Opry. I love them countrypolitan women.
countrypolitan by MOChick November 7, 2006
Word of the Day on November 1, 2026

Witch Bath 

A bath consisting of a variety of slats, oils, soaps or any other added ingredients such as fruits, milks, herbs or any other spices for health or beautifying benifits.
She brought home alot of stuff and took it to the bathroom. She must be taking a witch bath.
Witch Bath by carnieboy30 October 26, 2020
Word of the Day on October 31, 2026

kinktober 

An excuse for people to write porn with different types of kinks throughout the month of October.

Smut Fanfiction
That chick doesn't write often but when she does, its for Kinktober.
kinktober by Kinkiest July 12, 2018
Word of the Day on October 30, 2026

proper lad 

a lad that is such a lad that he is a proper lad
person1:did you see bob
person2: ya he was a proper lad
Word of the Day on October 29, 2026
Load more