Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12140
| From | " Cal Who" <CalWhoNOSPAM@roadrunner.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | How to programmatically display a value |
| Date | 2012-02-24 20:01 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <ji9bu9$l11$1@dont-email.me> (permalink) |
I calculate and want to display the numerical result. I can do it by assigning to the value attribute of an <input type=text> element. However, I don't want the user to be able to change the value displayed. I tried readonly="readonly" but, unless I had a bug in the code, I found I couldn't programmatically change the value displayed by assigning to value. How should I do that? Thanks
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
How to programmatically display a value " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 20:01 -0500 Re: How to programmatically display a value Mike Duffy <Use_guestbook_page@website.in.sig> - 2012-02-25 01:08 +0000 Re: How to programmatically display a value "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-25 09:07 +0000
csiph-web