P
Peter Rilling
My form has many controls that postback to the server, some are buttons,
some are listboxes. I tried to use the "onsubmit" event to take action just
before the form was posted but then realized that this only happens when a
button is clicked, not when the submit method is called which is how
listboxes are invoked. I basically have some hidden fields that I want to
populate before the form is submitted, regardless of whether a button or
listbox caused the action. How might I do this?
some are listboxes. I tried to use the "onsubmit" event to take action just
before the form was posted but then realized that this only happens when a
button is clicked, not when the submit method is called which is how
listboxes are invoked. I basically have some hidden fields that I want to
populate before the form is submitted, regardless of whether a button or
listbox caused the action. How might I do this?