امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I've the ajax call set up as following:
JavaScript:
But line 3 generating an invalid URL, something like the following:
Read more
JavaScript:
کد:
var config = {
method: 'post',
action: "{{link('vendor/my-function')}}", // the route is set via ACP
successCallback: XF.proxy(this, 'processResponse'),
ajaxOptions: { skipDefault: true }
};
XF.ajax(
config.method,
config.action,
{'f':selection},
config.successCallback,
config.ajaxOptions
);
But line 3 generating an invalid URL, something like the following:
[URL...
Click to expand...
Read more
