xataku_nakusute
07-21-2003, 06:31 PM
the ttitle explains it all
|
Click to See Complete Forum and Search --> : how can you change button value(txt) onClick? xataku_nakusute 07-21-2003, 06:31 PM the ttitle explains it all Charles 07-21-2003, 06:38 PM <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Content-Script-Type" content="text/javascript"> <title>Example</title> <script type="text/javascript"> <!-- Array.prototype.next = function () {if (this.n == undefined || this.n >= this.length) this.n = 0; return this[this.n++]} button = ['Fee', 'Fie', 'Foe', 'Fum'] // --> </script> <input type="button" value="Giant Says" onclick="this.value = button.next()"> xataku_nakusute 07-21-2003, 07:10 PM thank ya:D webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |