ajax .html() image not working on chrom and safari
Hi guys,
I got an ajax that creates an image tag whenever a drop down for car brand is clicked, it works well in firefox and internet explorer, but doesn't show on safari and chrome
The ajax:
- $.ajax
- ({
- type: "POST",
- url: "<?php echo base_url();?>index.php/welcome/brandlogo",
- data: "brandID=" + this.value,
- success: function(msg)
- {
- $("#brandlogo")
- .html(msg);
- }
- });
The logo image
- <td width="300" rowspan="7" align="center" nowrap="nowrap" id="brandlogo"> </td>
where did I go wrong?
Thanks