document.write buggy?

Posted by proyb2 on Stack Overflow See other posts from Stack Overflow or by proyb2
Published on 2010-06-06T14:27:16Z Indexed on 2010/06/06 14:32 UTC
Read the original article Hit count: 421

Filed under:

Something wrong with the code? I could print Hello on HTML but when I add to getPlayerVersion, the whole string doesn't print. What could be problem be? Leaving me feeling frustrated.

<script type="text/javascript">
document.write("Hello"+deconcept.SWFObjectUtil.getPlayerVersion().major);
</script>

© Stack Overflow or respective owner

Related posts about JavaScript