Hi all,

I am wanting to change more than one field on an event with #ahah, is this possible, if so how?

Krad.

Comments

Trappies’s picture

nevermind, figured it out.

Davin

WildKitten’s picture

Hi Trappies,

please could you write/explain how you did it, cause I have a same problem. Don't know how to change second field on same ahah event

asmdec’s picture

I think that's no way to do modifications in more than one element with the actual approach of AHAH.

What you need is to implement some kind of Observer, that updates reflecting the changes of the observed element.

With some new events in AHAH like observed_change, observed_click, observed_blur (etc) and a new attribute #observed that points to observed element.

It'll be great functionalities :)