Opened 14 years ago
Closed 14 years ago
#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: | |
Blocked by: | Blocking: |
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 (3)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
It seems to work for me on IE8, if I change the id typo.
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>