Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40372
| Path | csiph.com!aioe.org!0Rru9CdXXiQq2r8Rbz8z8A.user.46.165.242.75.POSTED!not-for-mail |
|---|---|
| From | bill <william@TechServSys.com> |
| Newsgroups | comp.lang.javascript |
| Subject | changing the value of a text box with .js |
| Date | Sun, 5 Sep 2021 14:17:41 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <sh31k5$167f$1@gioia.aioe.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | gioia.aioe.org; logging-data="39151"; posting-host="0Rru9CdXXiQq2r8Rbz8z8A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
| Content-Language | en-US |
| X-Mozilla-News-Host | news://nntp.aioe.org:119 |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Xref | csiph.com comp.lang.javascript:40372 |
Show key headers only | View raw
I know how to change the value of a span or div using:
onClick= document.getElementById("searchkey").value = "type min 3
letters";
but that does not work for an input type=text element.
What is the proper way to do that?
-bill
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
changing the value of a text box with .js bill <william@TechServSys.com> - 2021-09-05 14:17 -0400
Re: changing the value of a text box with .js Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-09-05 22:44 +0000
Re: changing the value of a text box with .js JJ <jj4public@gmail.com> - 2021-09-06 14:39 +0700
Re: changing the value of a text box with .js Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-09-17 00:46 +0200
Re: changing the value of a text box with .js Arno Welzel <usenet@arnowelzel.de> - 2021-09-06 15:09 +0200
csiph-web