![]() |
setTimeout
Hi,
I want to use in javascript-html the command setTimeout. My problem is now How can I add a parameter I want to parce the same parameter that called the routine called 't' the problem is that it won't work with me this is my code that I use setTimeout("proc()",20); It is the last line withing function proc thanks Jan |
Re: setTimeout
JR wrote:
> I want to parce the same parameter that called the routine called 't' > the problem is that it won't work with me > this is my code that I use > setTimeout("proc()",20); > It is the last line withing function proc function proc(strArg) { setTimeout("proc(\"" + strArg + "\")", 20); } BTW: 20 milliseconds is probably below the granularity of most system clocks FYI: news:comp.lang.javascript -- Andrew Urquhart - FAQ: www.html-faq.com/ - Archive: www.google.com/groups?q=alt.html - Contact: www.andrewu.co.uk/contact/ - Employ me: Front/middle tier ASP developer with WAI & web standards |
Re: setTimeout
Thanks
Everything works fine now Jan "Andrew Urquhart" <reply@website.in.sig> schreef in bericht news:psufc.42$c33.34@newsfe2-gui.server.ntli.net... > JR wrote: > > I want to parce the same parameter that called the routine called 't' > > the problem is that it won't work with me > > this is my code that I use > > setTimeout("proc()",20); > > It is the last line withing function proc > > function proc(strArg) { > setTimeout("proc(\"" + strArg + "\")", 20); > } > > BTW: 20 milliseconds is probably below the granularity of most system > clocks > FYI: news:comp.lang.javascript > -- > Andrew Urquhart > - FAQ: www.html-faq.com/ > - Archive: www.google.com/groups?q=alt.html > - Contact: www.andrewu.co.uk/contact/ > - Employ me: Front/middle tier ASP developer with WAI & web standards > > |
Re: setTimeout
In article <P2ufc.71935$Jk2.4835432@phobos.telenet-ops.be>,
XXX.X@pandora.XXXX says... > I want to use in javascript-html the command setTimeout. > My problem is now How can I add a parameter > I want to parce the same parameter that called the routine called 't' First, what the heck is "t" Give it a name, it makes debugging easier. > setTimeout("proc()",20); setTimeout("proc(" + t + ")",20); -- Whitecrest Entertainment www.whitecrestent.com |
| All times are GMT. The time now is 03:41 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.