Thread: button

    #1
  1. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407

    button


    can anyone tell me how i can make a button add a value in a textarea once clicked.. for example.. like if i was to click on the button named.. php i want it to place [php] in the text area i have no idea on how to do this..
    is it possiable for me to do something like this with js..

    PHP Code:
    <input type="button" name="php" value="php" onClick="<?php echo $php?>">
    Last edited by xlordt; March 25th, 2003 at 02:03 PM.
  2. #2
  3. No Profile Picture
    Clueless llama
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Feb 2001
    Location
    Lincoln, NE. USA
    Posts
    2,353
    Rep Power
    117
    I think you want either the php forum or the javascript/html forum.
  4. #3
  5. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    ohh damn hehe sorry... thanx btw.. i did get reffered .. i just thought this was the place thanx again

IMN logo majestic logo threadwatch logo seochat tools logo