Hi all,
Big fan of CalendarScript but need a bit of guidance. Probably a simple fix.
Working with ASP, I usually use onChange=""this.form.submit();"" to send edits without the user having to press a submit button. I'd like to use the same idea with CalendarScript - ie once it updates the textbox it submits the form. However, the event doesn't fire, I assume due to how the script itself operates (IE doesn't see that the box has changed).
The line I'd normally use would be (excuse my colloquial ASP):
Response.Write("<TD WIDTH=430><A HREF=""#"" onClick=""cal.select(document.forms['projects'].txt_dateofcontact,'anchor1','dd/MM/yyyy');return false;"" NAME=""anchor1"" ID=""anchor1""><INPUT CLASS=tablerowinput1 TYPE=""text"" SIZE=""12"" NAME=""txt_dateofcontact"" VALUE=""" & objRS.Fields("date_of_contact").Value & """ onChange=""this.form.submit();""></A></TD></TR>")
Hoping someone can suggest an easy mod to the script or the object code.
TIA,
Jon