I have a situation in which I want all my ajax requests to the server contain an Authorization header.
To accomplish this I have defined a beforeSend function in $ajaxSetup.
The plugin replaces the function defined in $ajaxSetup in order to clear the list and update some text.
So I have to provide a beforeSend in the ajax config.
Hi.
I have a situation in which I want all my ajax requests to the server contain an Authorization header. To accomplish this I have defined a beforeSend function in $ajaxSetup.
The plugin replaces the function defined in $ajaxSetup in order to clear the list and update some text. So I have to provide a beforeSend in the ajax config.
I would appreciate any help. Thanks