evento de clic del mouse en socket io

¿Alguien sabe cómo escuchar los eventos del mouse, como CLICK o HOVER, para que cuando haga clic o desplace un elemento, ocurra lo mismo en el segundo navegador? Disculpas por no incluir el código.

<script>
    // creating a new websocket
    var socket = io.connect('http://localhost:8000');

    // on message recived we print the new data inside the #container div
    socket.on('notification', function (data) {
        $("p").click(function () {
            alert("Hello");
            //or change the color
            $(this).css({"color": "red"});
        });

        var usersList = "<div id='aaa'>";
        $.each(data.users, function (index, user) {
            usersList += "<p>" + user.users + "</p>";
        });

        usersList += "</div>";
        $('#container').html(usersList);
    });
</script>
<p>Click me!</p>

Respuestas a la pregunta(1)

Su respuesta a la pregunta