Hi, Thanks for the idea, it was very promissing, and I thought it surely
would solve my problem. But:
What I need to do is select entries al the items from a selectbox, which has
changed on the clientsite. This entries needs to be submitted together with
all the other form information. When I put this script in the onUnload event
of the body, it did select the needed data, but it is not added to the form
data posted back to the server. (Probably because the data to post is
allready gathered, and maybe even sent back, when the onUnload event occures.)
I also tried to put it in the onsubmit event of the form. (alert('test');
but the code generated contained "if (!ValidatorOnSubmit()) return false;
alert('test');", and the alert was never executed, although there is no
invallid data on the page.
Is their another way to execute a Javascript function before the postback is
done?
Thanks in advance,
Michel