WireUpload::setAllowAjax()

Set whether or not AJAX uploads are allowed

Usage

// basic usage
$wireUpload->setAllowAjax();

// usage with all arguments
$wireUpload->setAllowAjax(bool $allowAjax = true);

Arguments

NameType(s)Description
$allowAjax (optional)bool

Return value

$this

Object instance it was called from (method supports fluent interface).


WireUpload methods and properties

API reference based on ProcessWire core version 3.0.251