获取带有.的id值
<h1 id="123.45">dom对象</h1>
<script> $('#123\.45').attr('id') //123.45
</script>
<script> $('#123.45').attr('id') //undefined </script>
获取带有.的id值
<h1 id="123.45">dom对象</h1>
<script> $('#123\.45').attr('id') //123.45
</script>
<script> $('#123.45').attr('id') //undefined </script>