Need to ask another related question;
If I have a click event with the form action <input type = "submit" onClick="doFile(this)" value='upload file'/>
and the following function. How can I add more functionality to this single click event. ie if I wanted to post the servlet then I wanted to go off and create some other stuff, but on the single click action? Is this possible?
var form1 = btn.form;
form1.action = "Uploader/uploadfile";