HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Programming, Coding, (Web)Design


Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people.

Reply
 
Thread Tools
Old Jun 16, 2008, 11:47 AM   #1
HH Assassin Guild Member
 
IvanV's Avatar
 
Join Date: Dec 2004
Posts: 5,649
Rep Power: 280
IvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his statusIvanV is godlike in his status
System Specs

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?
__________________
Our Folding@home stats:

Last edited by IvanV; Jun 16, 2008 at 12:05 PM.
IvanV is offline   Reply With Quote


Reply

Bookmarks

Thread Tools