|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
DriverHeaven Extreme Member
|
Web programming help
I've got a page which submits two dates so that a chart is made for the corresponding period. The key form attributes, startdate and enddate, are hidden and calculated based on what is filled into different form fields. In stead of updating startdate and enddate every time one of the visible fields is changed, I wanted to only do it once, on submit (by a JavaScript function called when the onsubmit event of the form occurs). Can it be done, or is it too late then? Because it does not appear to be working.
![]() EDIT: I found a workaround, I call the function when onclick event for the submit button occurs (works when I activate it by keyboard too ). I'd still like to know if what I previously tried should or should not work?
__________________
Feed the porkers and don't touch the buttons! Last edited by IvanV; Jun 16, 2008 at 06:05 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AMD Releases 3D Programming Documentation | CDsDontBurn | Other Tech News | 0 | Feb 23, 2008 04:51 AM |
| Microsoft Pushes Kid's Programming Language | Iria | Other Tech News | 2 | Sep 29, 2005 07:09 AM |
| PDC: Microsoft unveils new programming platforms | Iria | Other Tech News | 0 | Sep 13, 2005 06:14 PM |
| Programming Jobs Losing Luster in U.S. | Iria | Other Tech News | 4 | Jun 20, 2005 12:16 PM |
| How difficult is 3d engine programming? | ToshiroOC | Programming, Coding, (Web)Design | 15 | Jul 11, 2003 11:05 AM |