javascript question

Sharky Forums


Results 1 to 2 of 2

Thread: javascript question

  1. #1
    om nom nom JDC's Avatar
    Join Date
    Oct 2000
    Location
    gettin' money, gettin' paid
    Posts
    4,432

    javascript question

    I think I've seen this done before, but I'm not sure if it was with JavaScript. Anyway I want to have a form with a button, and when the button is clicked a string is created and I want that string to replace the button. I'm using ColdFusion if that helps. Thanks.

  2. #2
    om nom nom JDC's Avatar
    Join Date
    Oct 2000
    Location
    gettin' money, gettin' paid
    Posts
    4,432
    I figured it out, I used <div> tags around my button element, then onClick executed a javascript function that replaced the html inside the <div> tag with a text field with my desired string.

Posting Permissions

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