Don't go for conventional Ajax request.Try jquery ajax to accomplish this task.
include jquery.js library in your project from JQuery
Then reference it on your used page
Now make an ajax call as below
For reference please have a look at jquery documentation from below link
ajax call using JQuery
See the magic!Hope this will help you.