Render For Javascript

Hi all master.

wanna ask, how to parsing data from controller without render ?

i have 1 view_result pages. (view_result.php)

1 controller have 2 function : 1. function_index, 2. function_result.

my problem :

i create button ajax submit, after user click submit, post data will send into function_result.

in function result have a $dataprovider, i want to parsing $dataprovider to view_result.php.

how to parsing $dataprovider to view_result.php after submit data from view_result pages ??? i have try using render, but didt work.