jquery 设置 select 默认值方法

$("#id_country option[value='{{ item.country }}']").attr("selected",true)

就简单一句。记录下来

posted @ 2012-09-05 14:16  notewo  阅读(569)  评论(0编辑  收藏  举报