javascript fatal error call to undefined function

muertomujados

New Member
somepage.aspx:\[code\]<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="somepage.aspx.vb" Inherits="myapp.somepage" %><asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"><%-- I've got some javascript functions here --%><script src="http://stackoverflow.com/questions/js/tree.js" type="text/javascript"></script></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"><%-- call to function in tree.js --%>**<asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="collapse();return false;">Open</asp:LinkButton></asp:Content>\[/code\]I got javascript "fatal error call to undefined function" with this code. Can you give me some reasons for that? A ugly solution was to put the function code into the aspx file itself.
 
Back
Top