Hi,
Is it possible to call a funtion that is located in "form1" from a javascript function in another form("form2")? Maybe something like this?
Default.aspx:
<html xmlns="http://www.w3.org/1999/xhtml">
<script language= javascript type="text/javascript">
function Test() {
//something something..
}
</script>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
Default2:
<html xmlns="http://www.w3.org/1999/xhtml">
<script language= javascript type="text/javascript">
function Test2() {
form1.Test();
}
</script>
<head runat="server">
<title></title>
</head>
<body>
<form id="form2" runat="server">
<div>
</div>
</form>
</body>
</html>