Login Register

keypress

keypress problems in a TextBox on a dialog, launched from a dialog

I'm trying to launch a dialog from a dialog. On the second dialog with a textbox, I'm having problems with keypresses. Under IE7, I can't type in that textbox at all, while in FF2, I can type, but can not hit back space. This seems to be new in dojo 1.1.x. This was working in previous versions of dojo.

Is there a trac log for this? Is there a current work around?

Here is an example with the issue:


<html>
<head>
<style type="text/css">
/* <![CDATA[ */

Problem - Ignoring a keypress from an alert dialog (in Firefox)???

Hello, everybody:

I've got a little application that checks the length of a text field, and if it's 5 characters long, it fires an xhrGet to get data to populate other fields in the form.

I'm using dojo.connect to add the function that responds to onKeyUp to the text field.

If the xhrGet doesn't return any data, the user is warned, and the user must enter data into the remaining fields by hand.

I'm using an alert() to let the user know that they have to enter data themselves.

The problem is this:

Syndicate content