Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

jquery problems


5 Posts   1201 Views


11 November 2009 at 10:32am Community Member, 175 Posts


we're using silverstripe version 2.3.3. the included jquery version = 1.26. we updated to 1.32 because we want
the use the "live" function of jquery.

after jquery update we have some problems ... here a szenario:

I click on the "Home" Page in the site tree to edit it
firebug returns:

[Exception... "'Syntax error, unrecognized expression: [@rel="stylesheet"]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

if I click again the page to edit "Home" loads correctly.

what could the problem here? does anybody successfully updated jquery?

please also see the attached screenshot



Attached Files

11 November 2009 at 10:53am (Last edited: 11 November 2009 1:07pm), Community Member, 39 Posts

Hi, i'm not sure, but check what scripts your page uses. If it uses prototype.js, jquery will not work. I have the same problem.


11 November 2009 at 2:14pm (Last edited: 11 November 2009 3:35pm), Community Member, 28 Posts

I am also using a different version on jQuery on my site (1.3.2). I'm only using it in my themes and not the admin area of the CMS so it works fine.


11 November 2009 at 10:54pm Forum Moderator, 5511 Posts

The [@attr] syntax has been removed from jquery 1.3. See other release notes - You have to use the standard rel="" rather then @rel.


13 November 2009 at 10:51pm Community Member, 175 Posts

hi willr,

thank you that worked, no more JS error now, everythink works OK now what is standard functionaly in CMS.

I also work with ModelAdmin to manage some simple models, please look at the attached screenshot, I fI click
on "Suche" (Search) I get back 200 OK, but the result dont displays. If I click a second time then the result comes.

Any Idea?


Attached Files