[thelist] JavaScript Oddness - updating the value & display of a button?

Joe Crawford joe at artlung.com
Fri Jul 28 13:13:53 CDT 2000


<FORM>
<INPUT TYPE="BUTTON" VALUE="1"
ONCLICK="this.value=parseInt(this.value)+1">
<INPUT TYPE="BUTTON" VALUE="&lt;--Get Value" 
ONCLICK="alert(this.form.elements[0].value)">                           
    
</FORM>

Ran into a bizarre bug with Mac Netscape (3 and 4.x) - the script above
*works* - but the while the intrinsic value is changed, the appaearance of
the button does not.
  
anyone encountered this?
  
anyone know of a workaround? I want to be able to dynamically populate  
 
buttons, and it just ain't workin!

TIA,
        Joe
Also put temporarily at:
http://www.artlung.com/temp/netscape.button.display.html

--
Joe Crawford <mailto:joe at artlung.com> | web designer + developer
                    services-for-hire | http://joecrawford.com/
                        personal-site | http://www.artlung.com/
      Happy Hour!  http://WebSanDiego.org/happyhour/happyhour6/
                    Picnic!  http://WebSanDiego.org/picnic2000/




More information about the thelist mailing list