Jump to content

[SOLVED] Switch


plutomed

Recommended Posts

I have a switch staement that has 16 cases and the default.

 

Insted of calling the 16th. It writes out the default. Why?

 

Just thinking about it, I don't know why I'm doing it with js, I could do it with php.

 

Aswell as that I get this error:

 

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)

Timestamp: Mon, 6 Jul 2009 01:14:40 UTC

 

 

Message: Object required

Line: 10

Char: 2

Code: 0

URI: http://www.plutomedia.net/26.06.2009/scripts/scripts.js

 

The line its corrosponding to is the second line here:

 

var docget = document.getElementById('HintBar');

docget.style.display="block";

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.