|
-
Jan 7th, 2016, 07:11 AM
#2
Thread Starter
Fanatic Member
Re: Strange problems with browser rendering javascript [VS 2010]
Further Issues. The following code checks for a carriage return when entering in textbox1 ('text1') and shifts focus to textbox2 ('text2').
function CheckForReturn() {
if (event.keyCode === 13) {
document.getElementById('text2').focus();
}
}
This works well in IE 10/11 but in firefox does nothing at all.
It's not a huge issue though as the users will only be using IE.
Last edited by venerable bede; Jan 7th, 2016 at 08:44 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|