E
eaguilar
Hi,
I am having problems trying to have code in a .js file work inside an ASCX
control. The control and the app build ok, but at runtime IE states that the
function I'm calling (which sits inside the .js file) is "undefined".
Any ideas or pointers to the right way of working with javascript inside an
ASCX?
The ascx looks like:
<head>
....
<script type="text/javascript" src="math.js"></script>
<script type="text/javascript" src="requestManagement.js"></script>
....
<script type="text/javascript">
math.init({
</script>
....
</head>
Many thanks in advance,
I am having problems trying to have code in a .js file work inside an ASCX
control. The control and the app build ok, but at runtime IE states that the
function I'm calling (which sits inside the .js file) is "undefined".
Any ideas or pointers to the right way of working with javascript inside an
ASCX?
The ascx looks like:
<head>
....
<script type="text/javascript" src="math.js"></script>
<script type="text/javascript" src="requestManagement.js"></script>
....
<script type="text/javascript">
math.init({
</script>
....
</head>
Many thanks in advance,