I am new to Jquery and as I have checked , most of the jquery plugins have a url property to perform server calls which will result in a JSON response.
eg - Jquery JSTree
$(function(){ $ ("#demo5").tree({ data :{ type :"json", url :"1_async.php", async :true, async_data :function(NODE){return{ id : $(NODE).attr("id")||0, my_param :"my_value"}}
}
}); });
I am using DWR and I need to know how I can use the results obtained by the callback method of a dwr call in these APIs.
Is there any utility to convert a DWR callback method return to a JSON response? Any help is highly appreciated in this context..