Hi, i am trying to validate some page with xhtml validator, for the following part i got errors.
Anyone knows what does it want?
document.getElementById('myImage').innerHTML = (document.all ? '' : " <img src='image.gif' alt='' />");
Error: "document type does not allow element "img" here", and it points to the closing part of the mg tag ('>'). now when try to replace < with < and > with > validator is fine with that, but then the browser (firefox) shows the actual text and not the image....
any help plz?