Jump to content

gazdzid

New Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by gazdzid

  1. This maybe a refresh issue being new to html this is what I experienced when working with fields on a browser within my local machine 1. if I add an entry then press Function5 (F5) button my entry remains. 2. If I make a change to the source file and save (open press space bar) 3. now press F5 button everything clears Not sure if this is the issue
  2. Hello monkeysaurus and team, Thank you for your kind reply and the onchange suggestion. Some success was observed but need a little more assistance Given: 1. I currently have within the tags for Field "A" I have onclick="ds_sh3(this) which is an original Calendar function. (calendar works) 2. I have added onchange="upDate('date3', 'date4') to add 7 days and returns result to field "B". (onhange doesnot trigger) Note: Field "A" Calendar works however onchange was not triggered Field "B" remained blank. Next Steps: 3. Removed onclick="ds_sh3(this) which is the calendar function 4. Manually changed date in field "A" onchange triggers Field "B" displays new date +7 days (cool) Conclusion onchange does become active if the change in a field is generated via function Question Sorry to say that I am not familiar with jQuery UI but can I still use JavaSript fuction to select a date for Field "A" and have the fuction that adds 7 days automatically triggered by either using onchange, another type of tag controller, or automatically force a change? if so how? if not why? and most importantly thanks!!
  3. GIVEN: A form has 2 fields and a button. If a default date appears in field "A" then press update_button onclick action calls function that adds 7 days to the default date and result is returned to field "B". My JavaScript works great. if I click the form field "A" (default date) a calendar will pop-up so that the default date can be changed. I change the default date then I click update_button onclick action calls function that adds 7 days to the newly selected date and result is returned to field "B". My JavaScript works great. Question: How can I have field "B" immediately updated when chages are made to field "A" without using an update button. Currently, my Update button calls the function with an onclick=upDate('dateOne', 'dateTwo')
×
×
  • Create New...