Call loadObject on click using ajax.