Side navigation
#15211 closed bug (migrated)
Opened August 13, 2014 04:21AM UTC
Closed October 21, 2014 12:57AM UTC
contains a 'value' attribute selector not working in IE8
Reported by: | alexey_kay | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | selector | Version: | 1.11.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In firefox, chrom, ie9+ works as expectd, logs values hello and hello again. In ie8 (emulator and the real one) logs for non existing values as well - had to add a fix to check if value is nothing
<html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $("input[type=hidden][id$='HF'][value]").each(function (index) { console.log($(this).val()) }); }); </script> </head> <body> <input type="hidden" id="1HF" /> <input type="hidden" id="2HF" /> <input type="hidden" id="3HF" value="hello" /> <input type="hidden" id="4HF" value="hello again" /> </body> </html>
Attachments (0)
Change History (1)
Changed October 21, 2014 12:57AM UTC by comment:1
resolution: | → migrated |
---|---|
status: | new → closed |
Migrated to https://github.com/jquery/jquery/issues/1789