Accessibility

Dreamweaver Documentation

dreamweaver.browseforFileURL() arguments


Table of Contents

  1. dreamweaver.browseforFileURL() arguments
  2. floatername values

The description of the arguments for the function dreamweaver.browseforFileURL() does not specify that the last optional argument, arrayOfExtensions, can be used only if the value of the first argument, openSelectOrSave, is "save". The following example uses the array theFilter for the arrayOfExtensions value:

var theFilter = new Array("HTML File Type(*.htm;*.html)|*.htm;*.html|TEXT");var completeField = dw.browseForFileURL("save","Save Page",false,false, theFilter);