TomFrantz
10-04-2003, 01:17 PM
Can someone tell me how to make a button disappear after it has been clicked on? I would like a solution that works in both Internet Explorer and Netscape if possible.
|
Click to See Complete Forum and Search --> : Need to Make a Button Disappear TomFrantz 10-04-2003, 01:17 PM Can someone tell me how to make a button disappear after it has been clicked on? I would like a solution that works in both Internet Explorer and Netscape if possible. AdamGundry 10-04-2003, 01:41 PM I think this should work: <button onclick="this.display = 'none'">Make Button Disappear</button> Adam Jona 10-04-2003, 03:03 PM Adam, it would be best to use document.write() to write the button to the page, would it not? Seeing as the button is used exclusively to execute a JavaScript command. [J]ona AdamGundry 10-05-2003, 01:59 AM Good point, Jona. I stand corrected. <script type="text/javascript"> document.write('<button onclick="this.display = \'none\'">Make Button Disappear</button>'); </script> Adam Jona 10-05-2003, 10:12 PM Just don't seek revenge... I couldn't bare the thought that you will read every post I make from now on just to get back at me. Hehe... :D [J]ona AdamGundry 10-06-2003, 10:42 AM Revenge? Me? Besides, I can't keep up with your 4000-odd posts. :D Adam Jona 10-06-2003, 11:40 AM Check out Pyro's... :rolleyes: Let's not get offtopic, though. :p If you want to chat, just PM me; I have IM programs. [J]ona pyro 10-06-2003, 12:18 PM Originally posted by Jona Check out Pyro's... [J]ona Well, it seemed you were getting into theory more than anything there, I just decided to add to it... :) Jona 10-06-2003, 12:30 PM Never trust a moderator - he can change the number of posts he's made. How do we know he's being honest!? Actually, when I saw that you had replied, I figured you were going to close the thread. :rolleyes: *Cough* We're waiting for a reply from *cough* TomFrantz *cough* if ever *cough* get one *cough.* Man, I need cough drops or something. [J]ona pyro 10-06-2003, 12:36 PM Actually, as far as I know, I couldn't change my own post count. I'd have to talk Pete into doing it for me... :p Jona 10-06-2003, 01:30 PM lol. What was the word they use for that, again? Whoa, flashback--I just saw the face of Hitler! Okay, enough now... :rolleyes: [J]ona webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |