Re: Problem calling function
- From: "Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx>
- Date: 26 Jun 2009 07:08:46 GMT
Xerxes wrote on 26 jun 2009 in comp.lang.javascript:
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>
<form id="MainForm" runat="server">
Strange, a form running on the server!
Better ask this in:
neas:microsoft.public.dotnet.framework.aspnet
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
.
- References:
- Problem calling function
- From: Xerxes
- Problem calling function
- Prev by Date: Re: java script tricks
- Next by Date: Re: Thanks to the regulars.
- Previous by thread: Re: Problem calling function
- Next by thread: alternative to iframe with design mode on
- Index(es):
Relevant Pages
|