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

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

Referer Spam Is Annoying - And, It's Persistent

Recently, we've seen a few blog owners who are curious about odd trends in their Stats displays. My numbers seem to go up steadily for a while, then drop. Then, they go up again, for a while, then drop again. Rises and falls in traffic are normal. You'll never have the same number of people, viewing your blog, constantly. During some days and some hours, our readers are going to be elsewhere, and not viewing our blogs.

Jump Break Is Visible Only In An Index Page

Some blog owners are unsure what a Jump Break looks like, when applied to their blogs. Occasionally, in Blogger Help Forum: Get Help with an Issue , we see the confusion. Where's the Jump Break? or I added a Jump Break to several posts, but it never shows up! When asked for a screen print of what they're seeing, they may provide a image of the post, in the Post Editor Preview window - or possibly, the published post, but in post page view.