Jump to content
  • Advertisement
Sign in to follow this  
H0bbes

Why this error happens?

This topic is 5058 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!