Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Using E_Key correctly.

$
0
0

Hi, I'm using Google Translate. I would like to use e_Key for when I press Enter, it will check if the text was typed correctly in the text field, if the user presses enter and the text is correct it will advance to the next page, if it is wrong it will display a text message saying it's wrong. See my code, I believe that as there are two "ifs" very close together, it gives the error message. How can I improve the code so that when I press Enter it will check if the text typed is correct or not, and go to the next page?
volume_up
content_copy

share
star_border

Viewing all articles
Browse latest Browse all 2105

Trending Articles