[Javascript] Can't create <IMG> with ASP...very strange.

Rui Fortes ruifortes at clix.pt
Sun May 6 08:48:40 CDT 2001


Thanks Ben but I guess that's not whats missing.

It was something to do with the concatenation of strings.(by the way, what is the code to create a " inside a string?)

The bottom line is that:

    myImageString = "<img src=images/house.gif>"  

works fine but this:

    myImageString = "<img src=images/" & "house" & ".gif>"

and this:
    
    myImageString = "<img src=images/" & myRecSet(0) & ".gif>"

doesn't.

What's wrong with the concatenation???

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010506/8eee2ecf/attachment.htm>


More information about the Javascript mailing list