javascript, quindi jquery, girano lato client... ...dopo che è stato eseguito PHP sul server.