javascript - jQuery 1.9.1 unrecognised expression -
i'm having strange error between 2 versions of software i'm working on , wondered might cause behaviour difference in jquery 1.9.1
i have line works fine in stable release:
this.$el.find('input:[name=file].js-file-input-box').focus().click();
however i'm doing changes , in new version jquery (still 1.9.1) throws 'unrecognized expression' error. know it's down colon if change to
this.$el.find('input[name=file].js-file-input-box').focus().click();
it works.
what might cause work / not work - don't know version wrong!?
Comments
Post a Comment