Function for Input Boxes
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: Function for Input Boxes

Threaded View

  1. #1
    Join Date
    Mar 2013

    Unhappy Function for Input Boxes


    Summary of task: Click on text, it appears in input box 1. Click on another text, it appears in box 2. Click again, box 3. If the first box has text in it, it will appear in the second, and so on.

    However in the function below, the text never goes to Box 3. I don't know how to fix it!

    var hasbeenset = false;
    function setInput(id){
    document.getElementById("myinput2").value= id;
    else if
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center