VBScript Methods & Properties

When the page first loads, it connects to the Microsoft Web site, which appears in the frame. You can follow the hyperlinks of this document to switch to any other page on the same Web site or to visit another site.

Some hyperlinks, however, cause the destination page to be displayed on the parent page, in effect removing your page from the browser's window. If this happens, the page with the command buttons would be replaced on the browser's window, and you must click on the browser's Back button to return to the LocationObject page, or select the Refresh button to reload the original page.

Alert Method

The alert method displays an alert message box. The alert message box is very similar to the regular message box of the Windows 95 user interface.
It displays a message and remains on the screen, and the execution of the script suspended until the user clicks the OK button.
Confirm displays a message box similar to the alert method, and only this box has two buttons, OK and Cancel. The confirm method returns the value True if the OK button clicked and the value False if the Cancel button is clicked.
This method frequently is used to notify the user that an unusual or irrevocable action is about to take place, such as the transmission of Form data to the server.

Open Method

The open method has a behavior similar to that of hyperlinks inserted with the <A> tag; however, it gives you more control over the appearance of the new window. The real benefit of using the open method, though, is that it enables you to specify the target at runtime.

On the other hand, the destination of the <A> tag must be furnished at design time and can't change when the document viewed. With the open method, you can navigate to any URL, even a user-supplied URL.

Opener property

The opener property returns the window object that opened the current window. The opener property does not return a window name or another window property.
It returns an actual object that you can use to access the properties of the window from which the current window opened.

Cookie property

The cookie property enables you to set up client-side cookies. A cookie represents a message you can store on the client computer and read from another page, or the next time the same client loads your page.
Cookies enable you to customize your pages for each customer by maintaining information between sessions. The cookie property makes it possible for your script to store a string on the customer's computer and recall it at a later time.
Companies Price Server Location Price Visit Now
Cloud SSD Hosting
$1.43 /mo. WILMINGTON, DE, US Price @ $1.43 /mo. Visit Now
247-host $2.99 /mo. LASALLE, CA Price @ $2.99 /mo. Visit Now
ehost.com $2.75/mo. Burlington, MA, US Price : $2.75/mo. Visit Now
Lifetime Free Domain
$3.95/mo. Panama, PA Start @ $3.95/mo. Visit Now
webhostingpad $1.99/mo. Arlington Heights, IL, US Start @ $1.99/mo. Visit Now
webhostingbuzz $4.95/mo AUBURN, MA, US Start @ $4.95/mo Visit Now
Cheapest Webhosting
$3.25/mo. Burlington, MA, US Start @ $3.25/mo. Visit Now
ixwebhosting $3.95/mo Columbus, OH, US Start @ $3.95/mo Visit Now
sitevalley $4.95/mo NASHUA, NH, US Start @ $4.95/mo Visit Now
Managed WordPress Hosting
$89.00/mo. Lansing, MI, US Price : $19.00/mo. Visit Now

Published by ananovareviews

I'm Communication Director with SCPL. Our goal is to deliver the most accurate information possible based on the needs of the majority of website owners and developers, and Ananova reports deliver the most reliable indicators of web host performance. - http://www.ananova.com

%d bloggers like this: