昨天在做项目的过程中,网页中的js部分总是会报错.
一开始以为是加了<form>标签的缘故.尝试之,未果.
后来找了milo一起看了下,原来是js标签没有写全的原因.受不了...
<script type="text/javascript">
<![CDATA[
..............................................
]]>
</script>
ok,下次写js一定要写完整.
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.