jquery
有没有办法去除Ember.js生成的<script>
标签?从jQuery选择器中删除Ember.js脚本标签.html()
<script id="metamorph-107-start" type="text/x-placeholder"></script>
<script id="metamorph-125-start" type="text/x-placeholder"></script>foo-bar-text<script id="metamorph-125-end" type="text/x-placeholder"></script>
<script id="metamorph-107-end" type="text/x-placeholder"></script>
我只想要foo-bar-text
。这里是我目前使用的选择器:
$(".control-group .controls .data").html();
返回上面的内容。
foo-bar-text从哪里来?从一个像{{foo}}这样的绑定语句? – intuitivepixel