javascript - Script-output not showing -


iv'e insertet script 2 different pages. (just test it)

this site missing menu left

this site showing right things

the script this:

    <script language="javascript" src="http://www.altimaskiner.dk/ecatalog/category.asp?userid=4823&amp;type=.js"                type="text/javascript" charset="utf-8">            </script> <div id="div1">&nbsp;</div>  <div class="ekatalogcat"><script type="text/javascript">                _printviewcat('div1')            </script></div> <script src="http://www.altimaskiner.dk/ecatalog/saleslist.asp?userid=4823&amp;type=.js" type="text/javascript" language="javascript" charset="utf-8"></script>  <div id="divtest">&nbsp;</div>  <div class="ekatalog"><script>_printview('divtest')</script></div> 

why isn't menu showing on second website? it's sort of "inserting page page"

part of code in first page looks this:

<div class="ekatalogcat"><script type="text/javascript">// <![cdata[            _printviewcat('div1')</p> <p>// ]]&gt;</script></div> 

you have html code in middle of script. causes syntax error when script parsed, won't run.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -