Aaron Cooper schrieb:
> Fugeddit!
>
> Found a post about using generic javascript event names. So this works:
>
> var txt_email = new ftmDataEntryTextfield('email',50,150);
> txt_email.addEventListener("blur", function(e) {
> txt_email.setValue(txt_email.getValue()+'@domain.co.nz');
> });
>
Original Message -
From: Aaron Cooper
To: qooxdoo-devel@lists.sourceforge.net
Sent: Thursday, December 07, 2006 12:31 PM
Subject: [qooxdoo-devel] TextFeild focus events
Hi all,
Can't see anything on this in the archive, and I'm sure it's simple.
I have a textF
Hi all,
Can't see anything on this in the archive, and I'm sure it's simple.
I have a textFeild for entering an email address. I want to add an event
listener for focusOut so that the domain part of the address is automatically
added.
Here is my code, I have found the FocusEvent class in the