Enable droplet to perform ajax communications.
AJAX Molecule | |
Preference Dialog | |
Comments | Ajax does not allow cross domain requests unless Cross Origin Sharing (CORS) is enabled on the target server. |
Properties | |
type | string, ( r ) |
pref.name | string, ( r ) |
pref.url | string, ( r, w ) |
pref.type | string, ( r, w ) |
pref. | string or object, ( r, w ) |
pref. | bool, ( r, w ) |
pref. | string, ( r, w ) |
pref. | bool, ( r, w ) |
pref. | array, ( r, w ) |
pref. | string, ( r, w ) |
pref.user | string, ( r, w ) |
pref. | string, ( r, w ) |
pref. | bool, ( w ) |
responseHeaders | string, ( r ) |
requestHeaders | object, ( w ) |
mimeType | string, ( w ) |
crossOrigin | bool, ( w ) |
Functions | |
attach | |
detach | |
delete | |
rename | |
clone | |
serialize | |
apply | |
getResponseHeader | |
exec |
Ajax does not allow cross domain requests unless Cross Origin Sharing (CORS) is enabled on the target server. If the target server is CORS ready, you need to set crossOrigin to true before starting the request.
IMPORTANT However, if the target server is not CORS ready, this Ajax molecule preforms server tunneling to fetch the content for you. This is automatically triggered by cross domain requests.
string, ( r )
The scriptable name for this molecule. This name can be set using rename function dynamically.