|
-
Jan 15th, 2000, 03:49 AM
#1
Thread Starter
Hyperactive Member
Using 'Document.Write', I can get something displayed on a webpage, but it clears the webpage completely. Is there anyway to preserve the webpage and add info to it? Also, is there a way to have a text box that the user cannot input data to?
-
Jan 15th, 2000, 04:03 AM
#2
Fanatic Member
Try:
VBScript Web Site
------------------
r0ach(tm)
-
Jan 15th, 2000, 06:15 AM
#3
Thread Starter
Hyperactive Member
Thanks, but I still can use the "document.write" without clearing everything that's already on the page. How do I fix this?
-
Jan 15th, 2000, 06:38 AM
#4
Fanatic Member
Example:
Code:
<HTML>
<HEAD>
<TITLE>Hello world.</TITLE>
</HEAD>
<BODY BGColor=#000000 Text=#FF0000>
This is a test
<FONT Face=Tahoma Size=5 Color=#00FF00>
<Script Language="VBScript">
document.write("Hello world.")
</Script>
</FONT>
</BODY>
</HTML>
This example does NOT clear away all the text! 
------------------
r0ach(tm)
-
Jan 16th, 2000, 12:18 PM
#5
-
Jan 16th, 2000, 02:18 PM
#6
Thread Starter
Hyperactive Member
By text box, I meant a webpage textbox. NOT a VB text box... monkey...
-
Jan 16th, 2000, 05:01 PM
#7
Frenzied Member
As far as I know, the only form elements which the user cannot edit are hiddens. If you need the box to be seen, maybe you could replicate the look of a text box using a single cell table? It might take a bit of trial and error to get it look right, but it's the only way I can think of.
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
|