Hello All,
This code works fine in FF, Chrome & Safari, but IE 8 is throwing several Invalid Argument Errors when I run it:
<script type="text/javascript">
$(window).load(function() {
$('div .box').each(function() {
$(this).width($(this).find('img').width());
});
});
</script>
You can see it in context here: My html/css skills are more or less spotless but I'm practically clueless with jquery/javascript. I have searched but cant get a handle on what the error is and how to fix it. Any help greatly appreciated.
Thanks.