X
Xerxes
Hi,
I have an aspx page that uses a master page. In the master page, I
added a reference to a javascript file.
When in the aspx page I try to call a function located in the
javascript file, I keep getting error that function is undefined.
In Master Page I have:
<body class="center">
<script type="text/javascript" src="../assets/scripts/
wz_tooltip.js"></script>
<form id="MainForm" runat="server">
....
</form>
</body>
In the aspx file:
<script type="text/javascript">
function doTip(name) {
var msg = "Edit " + name + " Properties";
Tip(msg); <----- This function is defined in the
javascript file, causes error
}
</script>
.......
<a href="..." onmouseover="doTip('some_value')">blah</a>
I have an aspx page that uses a master page. In the master page, I
added a reference to a javascript file.
When in the aspx page I try to call a function located in the
javascript file, I keep getting error that function is undefined.
In Master Page I have:
<body class="center">
<script type="text/javascript" src="../assets/scripts/
wz_tooltip.js"></script>
<form id="MainForm" runat="server">
....
</form>
</body>
In the aspx file:
<script type="text/javascript">
function doTip(name) {
var msg = "Edit " + name + " Properties";
Tip(msg); <----- This function is defined in the
javascript file, causes error
}
</script>
.......
<a href="..." onmouseover="doTip('some_value')">blah</a>