Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Newsgroups | alt.computer |
| Subject | javascript "print" problem |
| Message-ID | <a8%ez.18568$TY6.2182@fx38.iad> (permalink) |
| Date | 2016-07-05 19:44 -0800 |
code:
str=navigator.userAgent; // Agent is unique for our purposes
document.writeln("Browser sez:"+str+"|<BR>");
// above "prints" on the screen
var subjptr=1;
while(subjptr < 16)
{
// gott= EBody.indexOf(subjptr);
// gott= EBody(subjptr);
gott=str(subjptr) ;
document.writeln(gott+"|<BR>");
// i get NOTHING, yet tihs code passes two online evaluators
if ( EBody.indexOf(subjptr) > -1 ) {
msg="You do not qualify as a serious customer."+str(subjptr);
document.write (msg);
}
subjptr = subjptr + 1;
}
So, how do i get it to work ("print")?
Back to alt.computer | Previous | Next — Next in thread | Find similar | Unroll thread
javascript "print" problem Robert Baer <robertbaer@localnet.com> - 2016-07-05 19:44 -0800
Re: javascript "print" problem Paul <nospam@needed.com> - 2016-07-06 04:19 -0400
Re: javascript "print" problem Robert Baer <robertbaer@localnet.com> - 2016-07-06 08:01 -0800
Re: javascript "print" problem Paul <nospam@needed.com> - 2016-07-06 14:53 -0400
Re: javascript "print" problem Robert Baer <robertbaer@localnet.com> - 2016-07-08 00:20 -0800
csiph-web