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 API but cannot work
out how to use it in this case. Can someone let me know please?
var txt_email = new ftmDataEntryTextfield('email',50,150);
txt_email.addEventListener(new qx.event.type.FocusEvent(3), function(e) {
txt_email.setValue(txt_email.getValue()+'@domain.co.nz');
});-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel