I want to call a view with an ajax call on my current view. The following is my Ajax call that calls a function of my controller.
$.ajax({ type: \'POST\',