Expand Minimize

assign method

Loads a new HTML document.

Syntax

var retval = location.assign(bstr);

Parameters

bstr [in]

Type: String

String that specifies the URL of the document to load.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

location

 

 

Show:
© 2014 Microsoft