--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> you can hook the submit event to JS function and then test the content type
> before submitting
> <head>
>  <script language="JavaScript" type="text/javascript">
> function doSubmit()
> {
>   if("%{uploadContentType}%"=="'text/xml'")

How does JavaScript know the content type of the file before it's been
uploaded?

d.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to