08-11-2009, 04:19 PM
|
#11 (permalink)
|
|
The Addict
Join Date: Jun 2008
Posts: 335
Thanks: 2
|
Nay the disaster is when you do this:
javascript Code:
$("#imgID").attr('src', 'http://google.com/img.png');
instead of
javascript Code:
document.getElementById('imgID').setAttribute('src', 'http://google.com/img.png');
|
|
|
|