Re: javascript help please

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You have an answer, but I suggest you consider the problem domain before
solving in this manner. Most likely, you are either a) wanting to allow for
corrections or b) wanting to wait until the entire string is entered before
processing.

If a, your method might be the best, depending on what you are doing. If b,
you can process the portion that fits the keystroke and then capture the
blur event for the control to do complete processing. This will help you
avoid the wait two seconds.

I know nothing of your app, but I did a heavy JavaScript app years ago for
key entry (replace a windows app). If I would have waited two seconds, I
would have been hosed. Your app is, hopefully, completely different.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"rodchar" <rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1AE7B8F4-C2C3-4D2C-9019-F608DC5A20B8@xxxxxxxxxxxxxxxx
hey all,
i have a key up javascript function where i want half the function to run
and then wait about 2 seconds, but if within that 2 seconds another key up
event has a occurred, i need it to cancel the initial call to the
function.

can someone please show me if this can be done.

thanks,
rodchar


.



Relevant Pages

  • Re: Adding a toolbar?
    ... While I understand wanting to limit the dependencies your app has, OCXs exist to be used. ...
    (microsoft.public.vb.general.discussion)
  • Is there a convenient way to make apps unopenable?
    ... I am often not wanting an app, eg. Fireworks, opening when ... fiddling with image files. ... open in FW, I am sometimes not wanting them to open them in FF, ... In image programs where one can lock layers, ...
    (comp.sys.mac.system)
  • Re: VS 2005 beta 2 for free (or nearly free)
    ... > calling us for a few weeks now wanting us to get in on this very sweet ... > They're wanting us to change our objective to "provide VS solutions". ... pass Windows Logo app requirements, which means you need to have an app ...
    (borland.public.delphi.non-technical)
  • Re: Got an "I Can Do Everything" Phone...
    ... I am now loving it, ... the first week I had it it was 10% loving it and 90% wanting to throw ... wanting to throw it against a brick wall. ... I am going to go find that app as soon as I finish this post!!! ...
    (rec.pets.cats.anecdotes)
  • Re: !LinkCheck links
    ... On 30 Dec, Michael Gilbert wrote: ... > Wanting to do some link checking, I thought I'd check to see if there ... > in the app was dead, it seemed sensible to Google for it. ... > RISC OS links database points to the dead link, ...
    (comp.sys.acorn.apps)