The jet-disc connection in AGN