jQWidgets Forums

jQuery UI Widgets Forums General Discussions Syntax error, unrecognized expression: (fix)

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Syntax error, unrecognized expression: (fix) #8477

    emahuni
    Member

    I copied the source from the jqxexpander demo and i got this error in firebug when trying it out:

    Error: Syntax error, unrecognized expression: .jqx-expander-header-boot=1&lang=en&cookie=&sid=ub227spemj0ml5qlm3cf71j1v4
    Source

    I noticed that it was only happening when i used url parameters or post variables to the page that i was using the example. I then debugged and found out that it had something to do with the lines that get the theme:

    theme = gettheme();

    So i removed the theme script, every line that had to do with that js file and then used the css styling method in the documentation:

    …jqx.summer.css

    and everything works well.

    This has something to do with jQuery, as when i use version 1.7.2 in contrast to 1.8.1, it works well without removing the get theme thingy. However, i use the latest version of jQuery all the time and might actually switch to the latest 1.8.2 just now and test my code.

    I didn’t further my research into the gettheme script since all i wanted now works.

    I thought of just posting this here since i couldn’t find any help googling.

    Syntax error, unrecognized expression: (fix) #8480

    Peter Stoev
    Keymaster

    Hi emahuni,

    Thanks for the feedback!

    getTheme is used only in the demo. You shouldn’t use it in your projects. For setting a theme, check out the Styling and Appearance help topics in the Online Documentation.

    Best Regards,
    Peter Stoev

    jQWidgets Theme
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.