Close

Results 1 to 4 of 4

Thread: javascript help

  1. #1
    DF VIP Member supacook2k's Avatar
    Join Date
    Feb 2004
    Location
    ..........
    Posts
    249
    Thanks
    0
    Thanked:        0
    Karma Level
    262

    Default javascript help

    if anyone is a tad handy with javascript coudl you give me a pm please
    Last edited by supacook2k; 15th November 2006 at 01:18 AM.

  2. #2
    DF VIP Member salvadorescobar's Avatar
    Join Date
    Dec 2000
    Location
    Huddersfield
    Posts
    951
    Thanks
    0
    Thanked:        0
    Karma Level
    345

    Default Re: javascript help

    Code:
    <html>
      <head>
    
        <script type="javascript">
          function writeButtonTextToBox(ButtonName, TextBoxName)
          {
              var thisButton = document.getElementById(ButtonName);
              var thisTextBox = document.getElementById(TextBoxName);
    
              if (thisButton != null && thisTextBox != null)
              {
                thisTextBox.innerText = thisButton.value;
              }
          }
        </script>
      </head>
      <body>
        <form name="display">
          <div><input type="text" id="box" value =""></div>
          <div><input type="button" id="one" value="1" onClick="writeButtonTextToBox("one", "box");"></div>
        </form>
      </body>
    </html>
    I think that you that or something like that.
    'If we aren't meant to eat animals, then why are they made out of meat?'
    Anon.

  3. #3
    DF VIP Member supacook2k's Avatar
    Join Date
    Feb 2004
    Location
    ..........
    Posts
    249
    Thanks
    0
    Thanked:        0
    Karma Level
    262

    Default Re: javascript help

    thanks for the help m8. if your any good with javascript can you give me an pm m8 please

  4. #4
    DF VIP Member hxbro's Avatar
    Join Date
    Nov 2000
    Location
    Behind a wall
    Posts
    2,731
    Thanks
    4
    Thanked:        18
    Karma Level
    476

    Default Re: javascript help

    why not just post your problem here? that way more people will probably help you and the solution might be useful for other people
    Download my latest breaks and electro mixes or listen to Sellout Breaks FM

Similar Threads

  1. JavaScript menu's under Mozilla Firebird
    By salvadorescobar in forum Forum Bug & Error Reports
    Replies: 3
    Last Post: 27th December 2003, 01:07 PM
  2. Javascript links not working (IE)
    By big man in forum PC Problems
    Replies: 5
    Last Post: 12th October 2003, 06:12 AM
  3. 'k am going mad! asp, javascript conflict!
    By Poobar in forum Website Coding & Graphics
    Replies: 3
    Last Post: 16th April 2003, 01:07 PM
  4. ping pong game (javascript)
    By xdam in forum Website Coding & Graphics
    Replies: 1
    Last Post: 2nd April 2003, 03:09 PM
  5. Javascript problem....
    By g1bbo in forum Website Coding & Graphics
    Replies: 4
    Last Post: 12th November 2002, 10:42 AM

Social Networking Bookmarks

Posting Permissions

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