取不到值
<script type="text/javascript">function changelogo(logo_path)
{
$('logo_show').src = logo_path;
}
</script>
<{assign var="thColor" value="#CCCCCC"}><{assign var="tbColor" value="#FFFFFFF"}>
<table align="center" width="90%">
<form action="<{$PHP_SELF}>" name="myform" method="post" enctype="multipart/form-data">
<tr>
<th width="22%" bgcolor="<{$thColor}>">LOGO</th>
<td width="78%" bgcolor="<{$tbColor}>"><input type="file" name="logo_path" id="logo_path" onchange="changelogo(this.value);" value="<{$logo.logo_path}>" style="width:97%"/></td>
</tr>
<tr class="trcolor1">
<td colspan="2" align="center"><input type="submit" id="sumb" value="修改" /><input type="hidden" name="action" id="action" value="modify" style="width:97%" /></td>
</tr>
<tr class="trcolor1">
<td colspan="2" align="center"><img src="<{$logo.logo_path}>" id="logo_show"/></td>
</tr>
</form>
</table>
<{include file="foot.htm"}>
文本框的值改变以后可以取到值,但为什么就是赋给不了下面的图片呢?