You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AjaxVars is currently being used by the uploader plugin, it basically caches variables from the plugin itself, and they are added to the url that performs the uploading process so to include all the information that the plugin wants.
There is no other use right now, but It can be used to add extra variables to the url which will perform the ajax request. The reason it hasn't been documented is because it has been used anywhere else yet.
AjaxVars allow to add extra variables in the ajax request without actually being included in the url (it is later marged and adds up to the url) so you can add variables before the ajax request is made or after, and still be able to pass these variables in the url. This was necessary in the scenario where a plugin can add extra variables or action to a running request (to add or modify the behavior of an ajax request by adding to the url ), for example, the uplader plugin needed to post back the name of the files that were uploaded in the 'POST' callback, we wouldn't know what these were in a simple way without adding some sort of indicator to the url, here is the idea to pass variables was born.
can you tell me please how ajaxVars method can be used?
The text was updated successfully, but these errors were encountered: