X
Xon
Guest
In XF2.2,
Both versions of
JSON:
In XF2.3,
JavaScript:
Read more
Continue reading...
XF.ajax
supported GET method using $(form).serializeArray()
for the data argument. In XF2.3 this fails when using the replacement method XF.Serializer.serializeArray
.Both versions of
serializeArray
produce the same output format ie;JSON:
Code:
[
{name:'foo', value: 'bar}
]
In XF2.3,
XF.ajax
use URLSearchParams
to encode the arguments for GET which doesn't support serializeArray output format.JavaScript:
async ajax (method, url, data = {}...
Read more
Continue reading...