* finish task#762

This commit is contained in:
areyou123456
2012-05-01 06:42:22 +00:00
parent e86ff7b0b4
commit 3fe2f334c1
7 changed files with 25 additions and 12 deletions
+13 -1
View File
@@ -33,6 +33,17 @@ function closeWindow()
}
i ++;
}
function switchCodeType(fileType)
{
if(fileType == 'csv')
{
$('#CodeType').removeAttr('hidden');
}
else
{
$('#CodeType').attr('hidden','hidden');
}
}
</script>
<br /><br />
<form method='post' target='hiddenwin' onsubmit='setDownloading();'>
@@ -42,7 +53,8 @@ function closeWindow()
<td class='a-center'>
<?php echo $lang->setFileName;?>
<?php echo html::input('fileName', '', 'size=15');?>
<?php echo html::select('fileType', $lang->exportFileTypeList);?>
<?php echo html::select('fileType', $lang->exportFileTypeList,'csv', 'onchange=switchCodeType(this.value)');?>
<?php echo html::select('CodeType', $lang->exportCodeTypeList, 'gbk');?>
<?php echo html::submitButton();?>
</td>
</tr>