Taking my first steps in the APEX world by trying the hosted Oracle APEX environment making some test pages. In one of them I am writing some Javascript code where I want to use an AJAX call by use of API function apex.server.process.
Simple example code:
...
apex.server.process("testFunc",
{},
{success:
function(pData)
{alert(pData);}
}
);
...
The Javascript is called from the page HTML body. My problem is that the call to apex.server.process is unrecognized. I get "apex is not defined" in the console when debugging, so I don't even get to making the call. I thought I did not have to include anything to be able to call the API functions but maybe that is not correct?