How can I write HTML text to the window in VB Script?

Answer Posted / saravanan

You can use the Document.write method to write any text,
HTML or otherwise, to the window.
These commands must be executed before the document has
finished loading. The best way is to execute VBScript
commands that are inline, not subroutines or functions that
are triggered by events.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1744


How to add actions in driver script to run those actions in QTP?

1716


why do u choose to go for testing why cant for devoloping

1822


Mention what is vbscript?

816


What are class variables?

802


What are the disadvantages of vbscript?

861


Explain about scrrun.dll in vbscript?

870


What is select case statement?

815


What is the use of the instr function?

788


How to Convert Hex color code to color name in VB Script?

4159


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2629


What if you do not specify anything when you call a procedure?

792


What is variant in vb script?

852


please can you help me to get a code of flames using a visual basic 6

1434


Explain the asc function?

689