Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26588
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: <noscript> problem |
| Date | Wed, 14 Jan 2015 17:13:38 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <m96124$o7f$1@dont-email.me> (permalink) |
| References | <chkuofFkr3cU1@mid.individual.net> <m93knd$cqc$1@dont-email.me> <54b67acc$0$2876$e4fe514c@news2.news.xs4all.nl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Wed, 14 Jan 2015 15:13:08 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="ad9d9996ed56b0226e850b84acbddfdf"; logging-data="24815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zKU/4XgPtqUobxJzVERlQ" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
| In-Reply-To | <54b67acc$0$2876$e4fe514c@news2.news.xs4all.nl> |
| X-Antivirus-Status | Clean |
| X-Antivirus | avast! (VPS 150114-0, 14.01.2015), Outbound message |
| Cancel-Lock | sha1:MwON2bYab2S218iwbPQ8S7qeeOU= |
| Xref | csiph.com comp.lang.javascript:26588 |
Show key headers only | View raw
2015-01-14, 16:19, Erwin Moller wrote:
> On 1/13/2015 6:30 PM, Jukka K. Korpela wrote:
>> 2015-01-13, 18:17, Mel Smith wrote:
>
> <snip>
>
>>> <div id="ibuttons">
>>> <input type="button" onclick="shostats()" id="istatsbutt" value="View
>>> Statistics" />
>>> <hr />
>>> </div>
>>
>> Simply wrap all that inside <noscript>:
[...]
> If that latter noscript part is used (thus scripting is disabled), the
> part inside the noscript tag will be used
Oops. Right. Sorry. There was a some circuitry error in my brain,
hopefully a temporary one.
For a button that is completely JavaScript-driven (as opposite to a
submit button, which has non-JavaScript action too), the appropriate way
is to generate the button dynamically. For example:
<div id="ibuttons"></div>
<script>
document.getElementById('ibuttons').innerHTML =
'<input type="button" onclick="shostats()" id="istatsbutt" ' +
'value="View Statistics" /><hr />';
</script>
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
<noscript> problem "Mel Smith" <syntel@cox.net> - 2015-01-13 09:17 -0700
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-13 16:58 +0000
Re: <noscript> problem "Mel Smith" <syntel@cox.net> - 2015-01-13 13:15 -0700
Re: <noscript> problem "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2015-01-13 22:39 +0200
Re: <noscript> problem "Mel Smith" <syntel@cox.net> - 2015-01-13 17:48 -0700
Re: <noscript> problem Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-01-14 09:30 -0200
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-14 12:07 +0000
Re: <noscript> problem Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-01-14 10:50 -0200
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-14 15:53 +0100
Re: <noscript> problem "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-13 18:12 +0100
Re: <noscript> problem "Mel Smith" <syntel@cox.net> - 2015-01-13 13:19 -0700
Re: <noscript> problem Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-01-13 15:18 -0200
Re: <noscript> problem "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2015-01-13 19:30 +0200
Re: <noscript> problem Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-01-14 15:19 +0100
Re: <noscript> problem "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2015-01-14 17:13 +0200
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-13 18:48 +0100
Re: <noscript> problem "Mel Smith" <syntel@cox.net> - 2015-01-13 11:58 -0700
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-14 14:47 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-15 14:49 +0100
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-15 15:31 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-15 17:30 +0100
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-15 16:38 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-15 18:31 +0100
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-15 17:35 +0000
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-15 20:00 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-15 22:19 +0100
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-16 09:23 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-17 12:23 +0100
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-17 20:09 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-17 22:54 +0100
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-18 12:16 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-18 17:26 +0100
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-18 16:50 +0000
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-19 10:17 +0000
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-19 10:40 +0000
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-15 19:53 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-15 22:17 +0100
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-16 09:59 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-17 13:02 +0100
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-18 16:10 +0000
Re: <noscript> problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-19 15:10 +0100
Re: <noscript> problem John Harris <niam@jghnorth.org.uk.invalid> - 2015-01-20 10:24 +0000
Re: <noscript> problem Tim Streater <timstreater@greenbee.net> - 2015-01-20 12:09 +0000
csiph-web