If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

What I'm trying to do is (after the form loads, when the page is ready) add an onkeyup event to all "in" inputs that have a matching "out" input (ie, an "in" A_C_1 will get an onkeyup that will set the value of "out" C_A_1 to its value. But I do not want "out"s to overwrite "in"s.. so apply only to "in" class inputs.)

So I thought, "Simple."

Here's my js. Although I am using MooTools for some things, I'm mixing MooTools with straight JS for this.

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

I don't know anything about mooTools, so here is one way to do it with straight JS. I didn't run your code, but it sounds like a closure problem to me, which I guess you know is a common problem when attaching event listeners in a loop. There are other ways around it, but I find it most intuitive to use the element that received the event itself. Let me know if this is what you had in mind...

Unfortunately, although my current work location (changing this Wednesday) will allow me to read CF, I cannot log on to post. I will log on and report as soon as I can.

Thank you!

^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".