|
-
Jan 4th, 2002, 11:45 AM
#1
Thread Starter
Junior Member
spaces in JS HOW
Hello
how can i print space
for example
if i want
document.write( " ") // to print space
but by the statment above i dont get the space
so how i have space in document
?
thanks
-
Jan 4th, 2002, 12:13 PM
#2
Addicted Member
That's off topic here.
The appropriate group is XML, HTML, Javascript, Web and CGI.
That said, I might be able to help. It's not totally clear what your problem is, but it sounds like might have a problem of spacing which can be solved with:
document.write(" ")
cudabean
-
Jan 4th, 2002, 12:15 PM
#3
Addicted Member
Oops! That didn't show up right.
try again:
document.write("& n b s p ;") without the spaces
-
Jan 4th, 2002, 01:19 PM
#4
Thread Starter
Junior Member
hi again ..
sorry for the un understood question ..
all what i am looking for is :
how can i creat spaces bettwen two charachters??
for example :
i would like to print the following ..
(space) m
m (space) m
hope u can get my point ..
thanx...........
-
Jan 4th, 2002, 01:42 PM
#5
Addicted Member
<script>
document.write("m m");
</script>
worked for me.
-
Jan 4th, 2002, 01:45 PM
#6
Addicted Member
The following also worked:
<script>
document.write("m");
document.write(" ");
document.write("m");
</script>
I get
m m
cudabean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|