Load image using javascript

Why doesn't this work? what did i miss out?



document.write(image);

or

document.write(image);


Comments

  • : 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.

Howdy, Stranger!

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

Categories

In this Discussion