HighDots Forums  

document.write is not a function?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss document.write is not a function? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason Holm
 
Posts: n/a

Default document.write is not a function? - 12-04-2003 , 04:09 PM






I'm making a custom object, and want to use document.write so I can make the
field labels dynamic (so i only have to change one variable at the top and
it changes it throughout the form.

When I use document.write i get "document.write is not a function"

what am i doing wrong?



Reply With Quote
  #2  
Old   
Thierry Koblentz
 
Posts: n/a

Default Re: document.write is not a function? - 12-04-2003 , 04:15 PM






Do you use it like this:
document.write("foo")
or like this:
document.write()

--
Thierry
http://www.MadCoWWWebDesign.com/go/quizz.htm | Frames Quiz
http://www.MadCoWWWebDesign.com/go/?2 | About Frames and Framesets
http://www.MadCoWWWebDesign.com/cssp/ | CSS-P version
http://www.MadCoWWWebDesign.com/cssp/csspopups/ | Pure CSS pop ups
www.TJKAntiques.com | Buy yourself some French Antiques ;o)



"Jason Holm" <jholm (AT) isupportlearning (DOT) com> wrote

Quote:
I'm making a custom object, and want to use document.write so I can make
the
field labels dynamic (so i only have to change one variable at the top and
it changes it throughout the form.

When I use document.write i get "document.write is not a function"

what am i doing wrong?





Reply With Quote
  #3  
Old   
mick_white
 
Posts: n/a

Default Re: document.write is not a function? - 12-04-2003 , 04:43 PM



Depends how you are using it, it's actually not a function but the
"write" method of the "document" Object.
Do you have something like the following?
var a= document.write("foo")


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.