Sorry should have said you should use the 'event.target.id' (in virtually all cases you can get away with using currentTarget, but if you want to be guaranteed to be getting the info from whatever dispatched the event, use target). It all depends on where you are doing the listening.
K. The event that gets triggered from a change will contain the textInput and as such it will have the id. All you need to do is get 'event.currentTarget.id' in the change handler function. The currentTarget will be the textInput that triggered the event. (I think that's what your meaning?) HTH Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gustavo Sent: 08 May 2009 06:50 To: flexcoders@yahoogroups.com Subject: [flexcoders] Sending textinput id Hi, I have a form and I would like to add the textinput id to an array so I know which fields were edited, I trigger the change event on each one but I can't send the textinput id via the event. any of this I'm saying makes sense? and if it does, how do I do it, or maybe there is a better way to update only the fields edited in a form? Some light about this would be really appreciated. thanks. Disclaimer ------------------------------------------------------------------------------------------- This electronic message contains information which may be privileged and confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone on 0131 476 6000 and delete the material from your computer. Registered in Scotland number: SC 172507. Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. This email message has been scanned for viruses by Mimecast. -------------------------------------------------------------------------------------------
<<image001.gif>>
<<image002.gif>>