[jQuery] Changing query string from ?key=value to /key/value

[jQuery] Changing query string from ?key=value to /key/value


So im using this framework called CodeIgniter anyways it allows query
strings but by default I have turned them off.
Instead a url would look like this:
www.your_site.com/controller/method/key/value/key/value...
However jQuery or the plugin datatables that I am using is generating
it like this:
www.your_site.com/controller/method?key=value&key=value
Just trying to figure out where all this magic happens so I can change
it to my magic!