JavaScript Tutorial: Hooking Events at Runtime with Parameter Functions

5 Responses to “JavaScript Tutorial: Hooking Events at Runtime with Parameter Functions”

  1. Mark says:

    Hi man, thx for this, it was really helpfull. I was dumb cant figure out this:)

  2. Nrupin says:

    Super cool…

  3. Mojtaba says:

    Hi ,

    Its good to know that and I am looking for more advanced thing.
    for example if the event it is already attached by some sort of software that we dont have access to those codes but we are using by including to our scripts and then we want to attach our custom event and at the same time having the old event.
    how we can override that event for example onkeyup to do our action and then calling the old function.

    Many Thanks

  4. Paul Layhew says:

    Hello, I came across this article while searching for help with JavaScript. I’ve recently changed browsers from Safari to Microsoft Internet Explorer 5. After the change I seem to have a issue with loading JavaScript. Everytime I go on a site that needs Javascript, my browser does not load and I get a “runtime error javascript.JSException: Unknown name”. I cannot seem to find out how to fix it. Any aid is very appreciated! Thanks

  5. Jake Goldman says:

    Paul – we’re betting you’re running an old Mac that’s not capable of running a new browser. The short version is, no one supports IE5 for Mac any longer. It’s an antiquated browser, with a 13 year old rendering engine. You’ll probably have other rendering problems throughout the web. If you’re computer is capable, we strongly suggest you upgrade to the latest version of Safari for Mac.