When attempting to call a URL in the background using the following code within a script tag:
var request = new Ajax.Request(logoffURL, {method : 'post'});
I encountered a script error stating Ajax is undefined
.
Is it necessary to include any external scripts in order to resolve this issue?