rommel

textarea为空的时候有默认值

<textarea class="zuo10" name="content" id="content" cols="79" rows="5"
                           onfocus="this.value=(this.value==\'文明上网,登陆评论!\') ? \'\' : this.value;"
                           onblur="this.value=(this.value==\'\') ? \'文明上网,登陆评论!\' : this.value;">文明上网,登陆评论!</textarea>

发表于 2013-04-02 18:58  天佑网  阅读(444)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2021-04-22
  • 2021-06-01
  • 2022-01-28
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-13
  • 2022-02-21
  • 2021-10-04
  • 2021-12-08
  • 2022-12-23
  • 2021-06-16
相关资源
相似解决方案