Load image using javascript - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Load image using javascript

limecitylimecity Posts: 14Member
Why doesn't this work? what did i miss out?



document.write(image);

or

document.write(image);


Comments

  • zibadianzibadian Posts: 6,349Member
    : Why doesn't this work? what did i miss out?
    :
    :
    :
    : document.write(image);
    :
    : or
    :
    : document.write(image);
    :
    :
    :
    It doesn't work, because you forgot the quotes in the write statement:
    [code]
    document.write('hello world');
    [/code]
Sign In or Register to comment.