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

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
A sexy ass person this dude is either super funny but looks is not it or Is cute as shit but is not that funny.
That boy is a javance the way he charms me.
javance by Cam2shiesty February 1, 2022
More from Urban Dictionary
A seemingly endless debate with a idiot
I don't know man im not ready for yap trap stupidity today which always tries to suck you into it
Yap Trap by WolfieSnack November 4, 2026
Word of the Day on November 5, 2026
Texas is categorized as a swing state in presidential elections, but has voted for Republicans more times than for Democrats in recent history. As such, as demographics change political alignments, some Democrats believe that Texas will vote blue, or Democratic, due to their Hispanic and African American voters, who often align themselves with the Democratic Party's liberal wing.

Blexas has been cited as possible in the upcoming decades, but only if Democrats continue to win the Hispanic vote in bigger margins.
Democrat 1: What is your prediction for the 2024 presidential election?
Democrat 2: Well uh, Blexas!
Democrat 1: You've been saying that since 2008 though.
Blexas by Tritonist June 14, 2021
Word of the Day on November 4, 2026

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
Load more