Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #23499
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: onLoad () and onChange() |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <8385c017-1426-4c2d-bdb3-2dd60a629819@googlegroups.com> <lfji6n$89u$1@dont-email.me> <78e0d96e-69e9-464d-8379-c41c547ff1c6@googlegroups.com> <lfkgh4$j4e$1@dont-email.me> <3b51f1d3-2e78-4f5b-b9b8-c684181434e1@googlegroups.com> |
| Date | 2014-03-10 15:46 +0100 |
| Message-ID | <XnsA2ECA06A1601Feejj99@194.109.133.133> (permalink) |
jonas.thornvall@gmail.com wrote on 10 mrt 2014 in comp.lang.javascript:
> numberStart = document.Xdoit.start_At.value * 1;
> numbRange = document.Jdoit.rangeN.value * 1;
This is ancient IE code.
Is this really made by you?
I suggest you copied it from near prehistoric sources.
document should not be used by ids [or names] in this way,
most browser DOM's will error somewhere, I presume.
Try:
var numberStart =
+document.getElementById('Xdoit').getElementById('start_At').value;
Or:
var Xdoit = document.getElementById('Xdoit');
var Xdoit_start_At = Xdoit.getElementById('start_At');
var numberStart = +Xdoit_start_At.value;
=============
I repeat, show us a workable minimalistic example.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-09 17:06 -0700
Re: onLoad () and onChange() "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-03-10 07:22 +0200
Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 09:49 +0100
Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 06:56 -0700
Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 15:28 +0100
Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 05:17 -0700
Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 05:55 -0700
Re: onLoad () and onChange() "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-03-10 16:00 +0200
Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 07:32 -0700
Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 15:46 +0100
Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 09:58 -0700
Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 23:15 +0100
Re: onLoad () and onChange() Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-03-10 17:03 +0000
Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 10:29 -0700
csiph-web