Skip to content

Not submit values if select not is a form's descendant #227

@adaniello

Description

@adaniello

Hi, there is a little improvement required: your code use closest('form') to detect the parent form, required to detect a submit event.

But in HTML5 we can use "form" attribute that enables placing an , , or other form field anywhere within a document, not just as descendants of a elements.

Your code should detect a form as self.$right.closest('form') or as $('#' + self.$right.attr('form')).

Thanks

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