The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I know that vBulletin is capable of Ajax. I need to retrieve some info from the server asynchronously, but I do not want to add my own library to get rid of code duplication. Does anyone know how I can make Ajax call with the use of vBulletin functions?
|
|
#2
|
||||
|
||||
|
vBulletin recently switched from its own system to the YUI framework.
Code:
YAHOO.util.Connect.asyncRequest('POST', scriptpath + '?do=ajax', {
success: this.handle_ajax_response,
failure: this.handle_ajax_error,
timeout: vB_Default_Timeout,
scope: this
}, SESSIONURL + 'securitytoken=' + SECURITYTOKEN + '&foo=' + foo);
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|