ASP.NET submit an element instead of a form?

Shinwa

New member
Hi All,
would like to know that is there a way to submit an element instead of the whole form?

I'm trying something like
<INPUT id="btnUpload" class="button" type="button" value="Upload" name="btnUpload" OnClick="document.getElementById('agileUploaderSWF').submit();" runat="server" />

but it end up running the doPostBack function submitting the whole form instead of this element.


i need to submit only this element so i'm able to get the files uploaded in this element which is an embedded flash


thanks a lot in advance for your help! =D
P.S.
complete code for document.getElementById('agileU… up there:-
document.getElementById('agileUploaderSWF').submit();
P.S.
complete code for document.getElementById('agileU… up there:-
agileUploaderSWF).submit();
 
Back
Top