Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32714
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Issue with assigning the newly inputted value of an INPUT box to SPAN |
| Date | Fri, 10 Mar 2017 19:52:01 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 15 |
| Message-ID | <87tw70ykny.fsf@bsb.me.uk> (permalink) |
| References | <9296f5aa-bfd0-48a9-8d31-c3e9355cdf4a@googlegroups.com> <4ad424a0-1461-4739-9be3-0cc8be16dce9@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="98074078abe1aed3310cd72afbef4fb4"; logging-data="9604"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pAW4DU4xkWwO1unsk/LEW34UAHduB57s=" |
| Cancel-Lock | sha1:xUeAdCvkEYWAS36WnD5Cf2hqn0s= sha1:V/ZZg2ESZVUqSLNxq+hGO+sH7/I= |
| X-BSB-Auth | 1.14c0f1ad144c769495cf.20170310195201GMT.87tw70ykny.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:32714 |
Show key headers only | View raw
justaguy <lichunshen84@gmail.com> writes:
<snip>
> Never mind. I had a typo for the initial field id. And it should be:
> <input type="text" id="fy" name="fy" size=8 onblur="document.getElementById('fyNew').innerHTML=document.getElementById('fy').value;">
Or, slightly simpler,
<input type=text name=fy size=8
onblur="document.getElementById('fyNew').innerHTML=this.value">
though you usually get more maintainable source if you avoid using these
"onxxx" attributes.
--
Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Issue with assigning the newly inputted value of an INPUT box to SPAN justaguy <lichunshen84@gmail.com> - 2017-03-10 08:24 -0800
Re: Issue with assigning the newly inputted value of an INPUT box to SPAN justaguy <lichunshen84@gmail.com> - 2017-03-10 11:36 -0800
Re: Issue with assigning the newly inputted value of an INPUT box to SPAN Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-03-10 19:52 +0000
Re: Issue with assigning the newly inputted value of an INPUT box to SPAN justaguy <lichunshen84@gmail.com> - 2017-03-16 17:58 -0700
csiph-web