Skip to content

http://api.jquery.com/one/ example needs named parameter #1008

Closed
@therobinkim

Description

@therobinkim
$( "#foo" ).one( "click mouseover", function() {
  alert( "The " + event.type + " event happened!" );
});

needs an event in the callback function parameter list

$( "#foo" ).one( "click mouseover", function(event) {
  alert( "The " + event.type + " event happened!" );
});

http://api.jquery.com/one/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions