Skip to main content

What is "javascript:void(0)"?

Do you see the Followers gadget in the sidebar here?

See the "Sign in" link at the top of the gadget (if you're not signed in to Following), or the "Invite your friends" link at the bottom of the gadget (if you are signed in to Following)? Move your mouse over either link, and watch the browser status bar (generally, the lower left of the browser window border).

When you move the mouse pointer over a normal link, you should see the URL of the link. In this case, you see
javascript:void(0);

A lot of blog owners don't understand the reason for this, and think that the blog is broken, or maybe hacked.
I can't publish any posts on my blog, or moderate any comments. At the bottom of the page I get an "Errors on page" message, and if I hover over certain areas of my dashboard, I get the "javascript:void(0);" message.

When you see "javascript:void(0);" in the browser status bar, it's a normal thing to expect with JavaScript code on the page. Try clearing cache, cookies, and sessions, and restarting the browser. Then check your computer, comprehensively, for a problem with cookies or script filtering. And look at the browser, and at any possible recent updates.

Want to see for yourself?

The next time that you're in Post Editor, and getting ready to Publish your latest new post / post revision, take the mouse cursor and hover over the "Publish Post" button. Don't hit the button - just take a look in the browser status bar (generally, the lower left border of the browser window). Chances are, you'll see it, right there.
javascript:void(0)
Really.

The bottom line is that your seeing the "void(0)" message is a symptom; it's not an error message or a problem in itself. Don't confuse JavaScript and Java though, and waste time downloading the latest JRE. For more information:
>> Top

Comments

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.