jquery - Calling a function in Javascript Syntax -


this might simple question reason can't find solution. new javascript , had lot of code put on me work on. trying call function in different html file , use in different html file. keeps printing out statement.

so included file in html using this

<xi:include href="model_pdb.html"/> 

this labeled in call jquery libraries , functions

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>     <script type="text/javascript" src="canvas.js" ></script>     <script type="text/javascript" src="viewer.js" ></script>     <script type="text/javascript" src="render.js" ></script>     <script type="text/javascript" src="blowup.js" ></script>     <script type="text/javascript" src="rotateimages.js" ></script> 

and calling function in tag of function

<body onload="readsinglefile('1igt.pdb','chothia', 'l', 'h' );">     <div>         <h1>the antibody</h1>         <input type="hidden" id="type" name="type" value="${type.upper()}"/>          ${pdb()} 

in model_pdb.html file function defined here

<py:def function="pdb"> 

i figured of been simple that, alas wrong. thoughts on here?


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo