Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18851
| From | JJ <jaejunks@nah.meh> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: This is an exampe that I have copied that should work but give error |
| Date | 2013-03-12 18:17 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <XnsA182E1CA9E9Ejj@0.0.0.79> (permalink) |
| References | <khnlo6$362$1@dont-email.me> |
"Tony" <tony.johansson@inport.com> wrote: > This is a copy example that should work but this line > map.controls[google.maps.ControlPosition.TOP_RIGHT].push(homeControlDiv > ); give this error > runtime error in JavaScript: It's not possible to get property > undefined for a reference that is undefined or null. > > Below is the complete example. > What is it that I have missed here ? undefined and null are like nothingness. There's no property in it. Basically, it tries to read a specific page of a blank book. It won't hurt to learn how to debug a script. In fact, it would help you save a lot of time.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
This is an exampe that I have copied that should work but give error "Tony" <tony.johansson@inport.com> - 2013-03-12 17:41 +0100 Re: This is an exampe that I have copied that should work but give error Gregor Kofler <usenet@gregorkofler.com> - 2013-03-12 17:45 +0100 Re: This is an exampe that I have copied that should work but give error JJ <jaejunks@nah.meh> - 2013-03-12 18:17 +0000
csiph-web