jQuery UI Widgets Forums Grid Grid fails if '$' sign is used in element ID

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • bouwer
    Participant

    Hi:

    If jqxGrid is applied to an element with any special character in its id, the grid fails to initialize and results in the following console error:

    SCRIPT5022: Syntax error, unrecognized expression: #wrapper$jqxgrid
    jquery-1.9.1.js, line 4421 character 2

    Here is a jsFiddle using an API example from the web site (I just added the ‘$’ character to the <div> id): Example

    In the context where I’m using jqWidgets I cannot change the way that element ID’s are generated (i.e. remove the special characters). Is there any workaround for this issue or something I’m missing?


    Peter Stoev
    Keymaster

    Hi bouwer,

    There isn’t a workaround. We would suggest you to do not use special characters for ID.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.