Click here to Skip to main content
15,925,133 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: javascript for url redirection Pin
Pete O'Hanlon6-Sep-10 3:39
mvePete O'Hanlon6-Sep-10 3:39 
Question403 Forbidden Error Pin
Danzy831-Sep-10 13:19
Danzy831-Sep-10 13:19 
AnswerRe: 403 Forbidden Error Pin
Gerben Jongerius2-Sep-10 0:14
Gerben Jongerius2-Sep-10 0:14 
Questionjavascript and asp.net Pin
bfis10813731-Aug-10 14:09
bfis10813731-Aug-10 14:09 
AnswerRe: javascript and asp.net Pin
Expert Coming31-Aug-10 20:23
Expert Coming31-Aug-10 20:23 
AnswerRe: javascript and asp.net Pin
NeverHeardOfMe1-Sep-10 1:19
NeverHeardOfMe1-Sep-10 1:19 
AnswerRe: javascript and asp.net Pin
T M Gray1-Sep-10 11:01
T M Gray1-Sep-10 11:01 
QuestionSettimeout problem Pin
Ajay Kale New30-Aug-10 23:24
Ajay Kale New30-Aug-10 23:24 
AnswerRe: Settimeout problem Pin
Not Active31-Aug-10 0:35
mentorNot Active31-Aug-10 0:35 
GeneralRe: Settimeout problem Pin
Ajay Kale New31-Aug-10 1:47
Ajay Kale New31-Aug-10 1:47 
GeneralRe: Settimeout problem Pin
Not Active31-Aug-10 1:54
mentorNot Active31-Aug-10 1:54 
AnswerRe: Settimeout problem Pin
DaveAuld3-Sep-10 0:40
professionalDaveAuld3-Sep-10 0:40 
GeneralRe: Settimeout problem Pin
Ajay Kale New3-Sep-10 1:31
Ajay Kale New3-Sep-10 1:31 
GeneralRe: Settimeout problem Pin
DaveAuld3-Sep-10 1:50
professionalDaveAuld3-Sep-10 1:50 
GeneralRe: Settimeout problem Pin
Ajay Kale New3-Sep-10 1:59
Ajay Kale New3-Sep-10 1:59 
GeneralRe: Settimeout problem [modified] Pin
Not Active3-Sep-10 2:30
mentorNot Active3-Sep-10 2:30 
GeneralRe: Settimeout problem Pin
Ajay Kale New3-Sep-10 2:42
Ajay Kale New3-Sep-10 2:42 
GeneralRe: Settimeout problem Pin
Pete O'Hanlon3-Sep-10 2:40
mvePete O'Hanlon3-Sep-10 2:40 
AnswerRe: Settimeout problem Pin
Pete O'Hanlon3-Sep-10 3:02
mvePete O'Hanlon3-Sep-10 3:02 
GeneralRe: Settimeout problem Pin
DaveAuld3-Sep-10 4:34
professionalDaveAuld3-Sep-10 4:34 
GeneralRe: Settimeout problem Pin
Pete O'Hanlon3-Sep-10 4:49
mvePete O'Hanlon3-Sep-10 4:49 
QuestionHow to introduce a search page in our site to google ? Pin
devboycpp29-Aug-10 20:00
devboycpp29-Aug-10 20:00 
AnswerRe: How to introduce a search page in our site to google ? Pin
cena1112-Sep-10 23:36
cena1112-Sep-10 23:36 
QuestionWhy doesn't this javascript code work in firefox? Pin
bfis10813728-Aug-10 12:57
bfis10813728-Aug-10 12:57 
AnswerRe: Why doesn't this javascript code work in firefox? [modified] Pin
NeverHeardOfMe28-Aug-10 13:33
NeverHeardOfMe28-Aug-10 13:33 
Have to admit I'm somehwat surprised it works in them - but Firefox has a pretty good Error console built in you know - look on the Tools menu. That straightaway tells you that the problem is that "Display" is undefined (Hence my "somewhat surprise".)

You need to define this before any of the functions are called but after the page loads - so either add another script block at the foot of the page with just

var Display = document.getElementById("Display");

in it, or add this Iwithout the var) as a one-line function in your block at the top and call it from the body onload method. - if you do it this latter way, you'll need to also define

var Display;

separately as a global variable outside the function.



-- Modified Sunday, August 29, 2010 3:42 PM

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.