i got it to work by your advice tsuji but whats with all the extra quotes? is there a certain pattern ? whats the defining difference between double and single quotes???
ok i tried this
but it didn't work
var go = "http://www.google.com"
window.setTimeout('window.location=' + go, 2000)
i tried this also and it did work except it doesent selay the redirect for 2 seconds like i wanted any idea why??
var go = "www.google.com"...
nope didn't work and i think you were missing a quote there?
i tried:
window.setTimeout('window.location=' + go', 500);
window.setTimeout('window.location="+ go", 500);
window.setTimeout('window.location="+ go"', 500);
what is the difference between single quote and double quote?
what is the...
i am trying to use the following code but it doesent seem like i can place a variable in side it to redirect to a url that is a variable any idea why it doesent work
window.setTimeout('window.location=go; ',500);
where go is normally "http://somesite.com"
any ideas, thanks again dave
ok sounds good so how would i search rfor an item multiple times say the word "hi" and increase a count everytime it is found? i know how the .search("")works but is there another way besides finding the search term and shortening the string every time the term is found?? possibly a built in...
i want to put some java script in a page that searches the html in the same page for a string. how can you do this? how can you store the document to a string or somehow scan through its own document looking for a certain line of html and if found store it to a variable along with everything...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.