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
What is the difference between a dictionary and an array?
How can you create an object in vbscript?
Mention the rules for using option explicit statement?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How are arrays declared in the vbscript language?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
When to use function procedures and what are its characteristics?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
Explain the .wsf files?
How to declare an array in vbscript?
How to Import data from a file (file is on the desktop) to the data table
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
what is the difference between modular and data and keyword driven framework
What is sql loader? Explain the files used by sql loader to load file?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?