Reply
javascript void(0)
Old 09-24-2005, 09:24 AM javascript void(0)
Junior Talker

Posts: 1
I am not a computer expert in the least. I am not being allowed to enter various secure sites which I previously could. I get to the home page no problem and then cant login. Putting the mouse over the login icon i get a message on the status bar of javascript void(0). This happens on several different websites and on both my computers. I have tried enabling and disenabling various things on the tool file including activex scripting. I have unblocked pop ups, i have downloaded windows updates and no joy. Can anyone help?
mucklestone is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-26-2005, 03:42 PM
CobraHosts's Avatar
Skilled Talker

Posts: 95
Location: Florida
javascript void(0) means that JavaScript is attempting to open a new web page. If you have Pop-Up blocker on you will not be able to see this new page and this might prevent you from accessing certian areas of websites if the Pop-Up is a login page.
CobraHosts is offline
Reply With Quote
View Public Profile Visit CobraHosts's homepage!
 
Old 11-15-2007, 06:53 AM Re: javascript void(0)
Junior Talker

Posts: 1
Name: charlie clark
i have the same problem. javascript and blank screens within shopping sites.seems ok with chat sites. i have made sure the settings are correct, updatedto IE7 and having read your post, i have turned all popup-blockers off. really really stuck. any other ideas please.
charlie clark is offline
Reply With Quote
View Public Profile
 
Old 11-15-2007, 07:06 AM Re: javascript void(0)
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,899
Location: Blackpool. UK
can we get an example (URL) of the sites that don't open for you?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-15-2007, 07:36 AM Re: javascript void(0)
tripy's Avatar
Fetchez la vache!

Posts: 2,135
Name: Thierry
Location: In the void
Quote:
Originally Posted by CobraHosts View Post
javascript void(0) means that JavaScript is attempting to open a new web page.
Absolutely not....
void(0) means "do nothing".
It's usually used when an javascript action is run via the onclick property of the href, but it can be anything...

The onclick event is trigerred before the href, and if the returned result of the onclick is false, then the browser won't go to the href.
I use this in a directory, to count links visits without disrupting the "open in tab" middle-click features of modern browser.
The onclick sends an ajax call to record the click, and when the ajax call is finished, the href is followed.

Try to go to that page with firefox and the firebug extension, and when you hover the link, do a right click and select "inspect this", and you will see what the onclick do.
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to javascript void(0)
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13501 seconds with 12 queries