callback function variables

callback function variables


Hi, so I've seen on here someone posted their callback function with 2
variables (e, ui)
Here it is:
function saveSort(e,ui){
my question is what DO those variables contain?
AND does anyone have a handy way of telling what is inside an object?
Thanks!