Modify ↓
Ticket #4438 (closed bug: worksforme)
Attr bug.
| Reported by: | shamuntoha | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | attr bug | Cc: | |
| Blocking: | Blocked by: |
Description
FF works, but IE it doesnt works.Here is the following code, it works when used <div> <img id="id" /></div> but not for table -> img.
Jquery structure $(document).ready(function(){
$("#id").attr("src", "images/one.gif");
});
<table id="table1" border="0" width="100%"> <tr><td valign="top"> <img id="t1" width="100%" height="100%" /> </td></tr> </table>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Jquery structure $(document).ready(function(){
});
<table id="table1" border="0" width="100%"> <tr><td valign="top"> <img id="t1" width="100%" height="100%" /> </td></tr> </table>