Why is the word [edit] added to my write ?

G

goldtech

Hi,

I'm just starting out learning JavaScript OOP and have simple
question. I use:

document.write("Make = " + this.make + "<br>");

and at the end of the output in my browser I get the word: "[edit]"

Were does "[edit]" come from. I'm not printing it out but it's getting
added to my output somehow. Help appreciated.
 
D

Dr J R Stockton

In comp.lang.javascript message <7896aa43-031a-4ff6-9b5c-63c6cc30c5b0@t1
3g2000prc.googlegroups.com>, Sat, 26 Feb 2011 11:03:20, goldtech
I'm just starting out learning JavaScript OOP


Then you need to realise that when you appear to get a peculiar result
and want to ask about it, it is highly desirable that you should say
which operating system and which browser (or other environment) you are
using (and, if the Date Object is involved, the location). And that you
should supply an exact copy'n'paste of the minimum code which shows the
apparent problem, posted without automatic line-wrap.

Such things are explained in the FAQ.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top