Basically, if I rightclick in any browser and choose to view source the code won\’t show up, even though i can clearly see the content on the page (tried on IE, Firefox, Chrome)
If I use the \”inspect element\” feature of Chrome/Firefox, I can however view the code
This is the respective code of my index.html:
<!-- [TABLE] -->
<div id=\"centercol\" align=\"center\">
<table id=\"table\">
</table>
</div>
I\’m using appendChild() to add the tr/td\’s in my javascript
InspectElement : http://i.imgur.com/pZBb5.png
View Source : http://i.imgur.com/W7pXm.png
Why does this happen?





Rating:
The post javascript – Source code doesn't show up appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/javascript-source-code-doesnt-show-up.html
No comments:
Post a Comment