Click to See Complete Forum and Search --> : javascript question


JDC
08-25-2005, 10:27 PM
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.

JDC
08-27-2005, 01:46 PM
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.