Click here to Skip to main content
15,886,362 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 
Hi guys,

I have written a function on onbeforeunload which uses setTimeout('myclose=false',100); - which should set the myclose variable as false afte 100ms interval.
But when I navigate to some other page from this page, it sometimes is not set as false and remains true - this behaviour is uncertain but usual one.
The strange thing is that when I put breakpoint in visula studio and just debug linebyline , it is set set to false always.
So i added sleep for 2000ms, afte settimeout call, but all in vain ...

So what can be the reason ?

- Ajay Kale
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 

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.