Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

browseFile Method 

Opens the browse file dialog.

[JavaScript]
Editor.browseFile(srcElement, inputName, title, profile)

Parameters

srcElement
The DHTML element that triggers the call. In the context of an event handler, keyword this should be used.
inputName
The name of the input element to receive the file path.
title
The title of the dialog.
profile
Profile information. Value of this argument is appended as a query string variable with variable name "eo_editor_browseFile_profile" to the Url specified by FileExplorerUrl. For example, if FileExplorerUrl is "/Explorer.aspx" and profile is "image", Url "/Explorer.aspx?eo_editor_browseFile_profile=image" will be called to display the dialog. The file explorer page should interpret this variable and configure its FileExplorer control accordingly.

See Also

Editor Object


Direct link to this topic