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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -