Side navigation
#12574 closed bug (invalid)
Opened September 19, 2012 07:18PM UTC
Closed October 04, 2012 09:15AM UTC
Last modified October 10, 2012 01:29PM UTC
jQuery is not working correctly - $('img[src*=logo.jpg]')
Reported by: | bizon_all | Owned by: | bizon_all |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | selector | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery is not working correctly.
$('img[src*=logo.jpg]'); - Error: Syntax error, unrecognized expression: img[src*=logo.jpg]
My contacts:
Skype - bizon_all;
ICQ - 400898514 (I am rarely come here);
VKontakte - vk.com/bizon_all;
E-mail: bizonall@yandex.ru
If I writing to English badly, excuse me, please - I am Russian man.
Attachments (0)
Change History (5)
Changed September 19, 2012 08:39PM UTC by comment:1
component: | unfiled → selector |
---|---|
owner: | → bizon_all |
status: | new → pending |
Changed September 19, 2012 08:49PM UTC by comment:2
I'm puttin my money on quotes.
Changed October 04, 2012 09:15AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Changed October 10, 2012 10:11AM UTC by comment:4
He's right it's broken in jQuery 1.8.2.
Example:
$("img:[name=tyreInfo]").cluetip();
Returns with:
jquery-1.8.2.min.js:2 Error: Syntax error, unrecognized expression: img:[name=serviceInfo]
Changed October 10, 2012 01:29PM UTC by comment:5
So it's working properly, since "img:[name=tyreInfo]"
is not a valid selector (note the colon).
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/. Open the link and click to "Fork" (in the top menu) to get started.