Results 1 to 3 of 3

Thread: Strange problems with browser rendering javascript [VS 2010]

Threaded View

  1. #2

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    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.

    Parksie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width