Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Page 117 jQuery Generalizations #76

@kevk88

Description

@kevk88

I noticed what I believe is a typo on page 117 of the text.

`$(".button").on("dblclick", function(){
alert("Hey you double clicked!");

});`

I made a separate html page and created a new JavaScript file in sublime to test the Events and Asynchronicity section of the book. I believe the $(".button") element is actually supposed to be $("button").on()...

After I made the adjustment, the program worked when I double clicked a button on my page.

Hope this helps and if I'm wrong about this please let me know. It's a great book so far, the jQuery section has cleared up alot of problems I've had with understanding jQuery in the past. Even if it is just the basics, its still very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions