Skip to main content
GameDev.net gamedev.net
🔒 Locked

Why this error happens?

Started by H0bbes Dec 17, 2004 at 8:44 AM 0 replies 950+ views
Original Post
H0bbes
H0bbes
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();">




<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]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.