Javascript Capture Enter key press event
  • Javascript Capture Enter key press event
    for further details and related topics http://www.codecorner.somee.com/
  • 1 Comment sorted by



  • Untitled Page

    function runScript(e) {
    if (e.keyCode == 13) {
    var TheTextBox = document.getElementById("a");
    var TheTextBox2 = document.getElementById("TextBox1");
    TheTextBox.value =TheTextBox.value + TheTextBox2.value + "\n\r";
    TheTextBox2.value=""
    }
    }







    runat="server" Height="49px" Width="210px">

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative