Rho::AsyncHttp.post

e elie matta 3 years 7 months ago
2 0 0

hello guys,

im facing a problem nad i wish u can help me.

im calling a method getServerResult(url,theParams,call_back, call_back_controler, forAjax=nil)

this method do the ajax call using  Rho::AsyncHttp.post

the code is attached.

im just trying to open an erb file (financialCalculator.rb) and fill some drop down using ajax call on load.

controller.rb comporte the calling of the method
getServerResult comporte the definition of the method
Process_result is a function that catch the body and put the data into a session variable where the problem occure:(

the  $jsonResSession = @params['body'] return " " which cause a problem (capture.png)

can u please help me

CONTACT
Can’t find what you’re looking for?