Side navigation
#1321 closed bug (duplicate)
Opened June 26, 2007 07:47AM UTC
Closed June 26, 2007 12:30PM UTC
[Critical Bug] ID selector
| Reported by: | alexo | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1.3 |
| Component: | core | Version: | 1.1.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Having an ID which contains ".", does not work correct.
Code:
<script>
$(function() {
var $o = $("#div_container.bug");
var o = document.getElementById('div_container.bug');
});
</script>
<div id="div_container.bug"></div>
Attachments (0)
Change History (2)
Changed June 26, 2007 11:45AM UTC by comment:1
Changed June 26, 2007 12:30PM UTC by comment:2
| component: | ajax → core |
|---|---|
| description: | \ Having an ID which contains ".", does not work correct. \ \ Code: \ <script> \ $(function() { \ var $o = $("#div_container.bug"); \ var o = document.getElementById('div_container.bug'); \ }); \ </script> \ <div id="div_container.bug"></div> → Having an ID which contains ".", does not work correct. \ \ Code: \ <script> \ $(function() { \ var $o = $("#div_container.bug"); \ var o = document.getElementById('div_container.bug'); \ }); \ </script> \ <div id="div_container.bug"></div> |
| resolution: | → duplicate |
| status: | new → closed |
Duplicate and fixed already, see #143