Sign in to follow this  

Why this error happens?

This topic is 4748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My code:
<HTML><HEAD>
<style type="text/css">
<!--
.invisible {-moz-opacity: [0];  filter: alpha(opacity=[0]);}
.invisible2 {-moz-opacity: [0]%;  filter: alpha(opacity=[0]);}
-->
</style>

<script>
	var fi
	function enviar(){
		window.document.formup.action="insert.asp"
		window.document.formup.submit();
	}

	function search(){
		fi.click();
	}
	
	function Init(){
		fi=document.getElementById("file");
	}
</script>
<TITLE>Teste</TITLE>
</HEAD>
<BODY leftMargin=[0] topMargin=[0] marginwidth="[0]" marginheight="[0]" onload="Init();">

<div class="invisible" id="browseLayer" style="position:absolute; width:100px; height:10px; z-index:[15]; left: 0px; top: 0px; visibility:hidden;">
<form name="formup" method="post" enctype="multipart/form-data" target="_blank">
  <input id="file" type="file" name="fichier" size="[1]">
</form>
</div>
<br><br>
<input type="button" name="bt1" size="[1]" value="Send" onclick="enviar();">
<input type="button" name="bt2" size="[1]" value="Select File" onclick="search();">
</body>
</HTML>


This code give me a error can someone correct them or help me. This error happens when i try to submit the form if you help i will be gratefuly with you. [Edited by - H0bbes on December 17, 2004 9:03:24 AM]

Share this post


Link to post
Share on other sites

This topic is 4748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this