textarea不能有默认值 [英] textarea can't have a default value
本文介绍了textarea不能有默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请检查这些行
check these lines please
<textarea class="wideInput" cols="30" rows="10" value="<?php echo $row['foodDescription']; ?>" ></textarea>
<input value="<?php echo $row['foodDescription']; ?>" />
输入类型有默认值,但textarea没有,请问为什么解决方案?
the input type has the default value, but the textarea doesn't , why please , what is the solution?
推荐答案
没有值
属性
<textarea class="wideInput" cols="30" rows="10" ><?php echo $row['foodDescription']; ?></textarea>
这篇关于textarea不能有默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文