Hello Techies,
I am trying to call a function in two.js file from one.js file.
Here is my code
one.js
<script>
document.write("<script type='text/javascript' src='/htmls/js/two.js'> <\/script>");
function one()
{
var a;
two(a);
}
two.js
function two(a)
{
alert("two");
}
But the function two() is not working.
How can I do this one??