Trigger event and passing event object

Trigger event and passing event object

Hi,

I am designing a widget which will use autocomplete but i have some problem with events.

I have an hidden input which has autocomplete behaviour. Around that i generate other inputs which can share the autocomplete suggestions from the hidden input. On the "keydown" event from one of these inputs i need to propagate the event to the hidden input (to activate the suggestions). If i simply trigger "keydown" on it, it works but it doesn't know which key was hit because it doesn't have the event object.

How can i do ? If anyone has an idea please ?

Thanks (and sorry if my english is not well enough :p).

br,
Benjamin.