The form is defined as:
<%@ Page Language="C#" MasterPageFile="~/MasterPage1.Master" AutoEventWireup="true"
CodeBehind="Search.aspx.cs" Inherits="Invoices.Search" Title="Search Page" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<form id="LoginForm1" method="post" runat="server">
...
this is what i'm trying to do:
...
<input id="date_input1" readOnly type="text" size="6" name="date_input1">
<script language="JavaScript" type="text/javascript">
<!--
document.forms['LoginForm1'].date_input1.value = month + '/' + date + '/' + year;
....
The problem is, nothing gets updated, the script just seems to hang and not do anything.