Yii Jquery And Jquery Mobile Not Compatible In All Cases?

Hi,

I’m using the current version of the yii framework to build an page with some jQuery elements. In order to bring that page on mobile devices i decided to add jQuery Mobile. After deploying an first application i found the following error:


Syntax error, unrecognized expression: :nth-child

If i change the current Yii Version from 1.1.12 down to 1.1.10 the application works fine!!

If i change back to yii 1.1.12 and update jQuery mobile to latest version 1.2 the comes the same error.


Syntax error, unrecognized expression: :nth-child

Searching the web for "strange" jQuery Mobile errors i found out, that not every jQuery Mobile version is compatible with jQuery. That means: the jQuery version in Yii 1.1.10 looks like to be compatible with jQuery Mobile 1.0, but not with jQuery Mobile 1.2.

And it looks like, the jQuery Version from Yii 1.1.12 is not compatible with jQuery 1.0 and 1.2.

To questions:

1.) Can anybody validate this result especially for Yii 1.1.12?

2.) Could it be possible to provide new Yii versions (in future) with jQuery and an compatible jQuery Mobile version?

Thank you,

rall0r