Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 1
Trades: 0
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
 
 
Register now for full access!
Old 09-26-2005, 03:42 PM
CobraHosts's Avatar
Skilled Talker

Posts: 95
Location: Florida
Trades: 0
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
Trades: 0
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
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
can we get an example (URL) of the sites that don't open for you?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-15-2007, 07:36 AM Re: javascript void(0)
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
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.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to javascript void(0)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.23997 seconds with 12 queries