I have some problem in my html code.?

Mahdi

New member
I have some problem in my html code.
i need to send some data for download correct file. but when i use this way it doesn't work in IE and firefox but works in chrome. another thing is i use this way in some other pages and they works correctly!
my code is:
//some code
<script>
function click()
{
document.getElementById("downloadform").submit();
}
</script>
<table><tr><td>
<img src="..\images\title1.GIF" />test<br />test<br /><br />
<h6><a onclick="click()">download</a></h6>
<form action="downloadthisfile.php" method="post" id="downloadform"><input type="hidden" value="15" name="id" /></form><br />
//some code
 
change your script tag so it includes the language of the script.

<script language="javascript">

should work fine in the other browsers.
 
change your script tag so it includes the language of the script.

<script language="javascript">

should work fine in the other browsers.
 
Back
Top