Click here to Skip to main content
15,923,083 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How to detect .msi file ? Pin
daveyerwin2-Aug-10 7:28
daveyerwin2-Aug-10 7:28 
GeneralRe: How to detect .msi file ? Pin
002comp2-Aug-10 18:42
002comp2-Aug-10 18:42 
GeneralRe: How to detect .msi file ? Pin
daveyerwin3-Aug-10 5:58
daveyerwin3-Aug-10 5:58 
GeneralRe: How to detect .msi file ? Pin
002comp3-Aug-10 19:47
002comp3-Aug-10 19:47 
GeneralRe: How to detect .msi file ? Pin
002comp4-Aug-10 1:46
002comp4-Aug-10 1:46 
GeneralRe: How to detect .msi file ? Pin
daveyerwin4-Aug-10 12:26
daveyerwin4-Aug-10 12:26 
GeneralRe: How to detect .msi file ? Pin
002comp4-Aug-10 21:14
002comp4-Aug-10 21:14 
QuestionRefresh Div content Pin
Shantanu Gupta 133731-Jul-10 6:18
Shantanu Gupta 133731-Jul-10 6:18 
I am making a school project based on jsp, i have a page in the solution which shows an animated Redirecting using following code

	<br />
var ic = 0;<br />
var s0 = "Redirecting";<br />
var s1 = "Redirecting.";<br />
var s2 = "Redirecting..";<br />
var s3 = "Redirecting...";<br />
function redir() {<br />
	ic++;<br />
	switch(ic) {<br />
		case 1:<br />
			$('#text').html(s0);<br />
			break;<br />
		case 2:<br />
			$('#text').html(s1);<br />
			break;<br />
		case 3:<br />
			$('#text').html(s2);<br />
			break;<br />
        	case 4:<br />
			$('#text').html(s3);<br />
			ic = 0;<br />
			break;<br />
		default:<br />
			$('#text').html(s0);<br />
			ic = 0;<br />
	}<br />
	setTimeout(redir(), 500);<br />
	return 0;<br />
}<br />


Problem is the div does not refresh (shows only "Redirecting." without any change) periodically with the text change calls.

Thanks in advance
AnswerRe: Refresh Div content [modified] Pin
daveyerwin31-Jul-10 7:55
daveyerwin31-Jul-10 7:55 
GeneralRe: Refresh Div content Pin
Shantanu Gupta 133731-Jul-10 19:34
Shantanu Gupta 133731-Jul-10 19:34 
GeneralRe: Refresh Div content [modified] Pin
daveyerwin1-Aug-10 3:15
daveyerwin1-Aug-10 3:15 
QuestionDisplay image on refresh with link Pin
Dave McCool30-Jul-10 14:39
Dave McCool30-Jul-10 14:39 
AnswerRe: Display image on refresh with link [modified] Pin
daveyerwin30-Jul-10 17:47
daveyerwin30-Jul-10 17:47 
Questionvalidation using jscript Pin
Thanusree Duth29-Jul-10 18:48
Thanusree Duth29-Jul-10 18:48 
Answer[Cross-Post] validation using jscript Pin
Sandeep Mewara29-Jul-10 19:17
mveSandeep Mewara29-Jul-10 19:17 
GeneralRe: [Cross-Post] validation using jscript Pin
Thanusree Duth29-Jul-10 19:20
Thanusree Duth29-Jul-10 19:20 
Questionvalidation Pin
Thanusree Duth29-Jul-10 17:43
Thanusree Duth29-Jul-10 17:43 
Answer[Cross-Post] validation Pin
Sandeep Mewara29-Jul-10 19:16
mveSandeep Mewara29-Jul-10 19:16 
QuestionWell, soneone's gotta go first... Pin
NeverHeardOfMe22-Jul-10 9:14
NeverHeardOfMe22-Jul-10 9:14 
AnswerRe: Well, soneone's gotta go first... [modified] Pin
daveyerwin22-Jul-10 12:33
daveyerwin22-Jul-10 12:33 
GeneralRe: Well, soneone's gotta go first... [modified] Pin
NeverHeardOfMe22-Jul-10 12:45
NeverHeardOfMe22-Jul-10 12:45 
GeneralRe: Well, soneone's gotta go first... Pin
daveyerwin22-Jul-10 13:01
daveyerwin22-Jul-10 13:01 
AnswerRe: Well, soneone's gotta go first... Pin
mmagill04-Aug-10 6:57
mmagill04-Aug-10 6:57 
GeneralRe: Well, soneone's gotta go first... Pin
NeverHeardOfMe4-Aug-10 7:43
NeverHeardOfMe4-Aug-10 7:43 

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.