PDA

View Full Version : Submit form


mailtome
03-28-2005, 12:01 AM
Hi
I am using a popup calendar which on selectting a date fills the date in a text box.The following code is used to fill the text box
<a onClick="popUpCalendar(.....);">
I want that when the user selects the date the form gets submitted.The onchange event for the text box doesnt work.Can somone help?

_Aerospace_Eng_
03-28-2005, 12:51 AM
show us the rest of ur code so we can help you better

allanm
04-05-2005, 07:20 PM
Couldn't you just call another function to submit the form at the end of popUpCalendar()?

popUpCalendar(){
<!-- put the selected date into the form somewhere-->
..
..

<!-- submit the form -->
submitFormFunction();

}