Just a little notice for anyone working with jQuery ajax in the admin side. (or probably any type of ajax for that matter that uses POST data instead of GET)
When using POST to transfer the query to your php script, you need to include the securityToken in the posted data, or else the response will contain the admin index page (with return code 302 for redirect).
This is of course only valid, if you include the "includes/application_top.php" in the php script.
Hope this helps someone else not to waste time on debugging :)
Bookmarks