Skip to content

Single Quotes in value #337

@joeykamsteeg

Description

@joeykamsteeg

Single quotes using in a value of a option will breaks the javascript execution. When using a single quote inside a option you can't open de select box anymore.

Error:

Uncaught Error: Syntax error, unrecognized expression: li[data-val='kilo's'] jquery.js:1453

jQuery version: 2.1.3

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22809465-single-quotes-in-value?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).

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