function enter()
{
var str=document.forms.f.txt.value;
var obj=documen.getElementById("lyr");
obj.document.open()
obj.document.write(str)
obj.document.clos()
}
</script>
<body>
It doesn't work and tells me that there is a "unterminated string constant"
Can someone help me please?
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
No closing quotes or closing paranthesis on the document.write
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System | Bits & Bobs
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
Well now that i've aded the quotes and parenthesis, it makes the parenthesis part of the document.write.......
this is weird..
it might be a stupid mistake again....
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
Alright i'll try it roght now....
thanks a lot for yout help
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
Maybe it's my html editor that sucks but it shows on;ly the black layer...........i use HTML-kit.....
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
Last edited by lizard dude : 10-14-2005 at 10:21 PM.
Can we see all the code for the page? If I finish the HTML tags for the page, it works, but it's a white box on a white page with no content, so you can't see it.
i created another post that follows this one so we'll tlk on the other one.....
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)