Passing Space Issue In Codeigniter Using Ajax

I have a codeigniter application.In that i call the controller function using ajax/jquery.But when i passing variable with space value it becomes wrong loading of another view page.This is my view page...