jquery id选择器 id带"."问题

例如控件ID为user.id

使用$("#user.id")不能得到正确的结果

必须使用\\转义

即$("#user\\.id")

posted @ 2015-05-15 11:26  荣超  阅读(1024)  评论(0编辑  收藏  举报