Board Logo

Using onchange event to update page?
indieaz - 12/2/2007 at 11:37 PM

I'm trying to figure out a way to have the calendar trigger an "onchange" javascript event when a date is selected. Applying an onchange value to the input field the calendar updates doesn't seem to do anything. It works fine when i manually type something in the date field, so i know my function is working. For example:

<input id="date" name="date" type="text" size="10 onchange="refreshTable()">

The "refreshTable()" function launches normally when i manually type in the date field, but using the popup calendar it does not. Any ideas?

mvprofessor - 12/15/2008 at 11:37 PM

Sorry, I just posted basically the same question before I found this one. In my 12/15 post I asked how to call a function when a calendar date is selected. I tried the same text field "onchange" with the same results. Hope someone comes up with the answer.

Back to forum: