最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I search inside javascript text with firebug? - Stack Overflow

programmeradmin2浏览0评论

The "search" (magnifying glass) on the top-right hand corner of firebug does not search inside javascript blocks, so if I have, for example, this:

<script type="text/javascript">

    var fooBar = "baz"

</script>

somewhere in a page, I can't find where "fooBar" is located. Is there any way to do it?

The "search" (magnifying glass) on the top-right hand corner of firebug does not search inside javascript blocks, so if I have, for example, this:

<script type="text/javascript">

    var fooBar = "baz"

</script>

somewhere in a page, I can't find where "fooBar" is located. Is there any way to do it?

Share Improve this question asked Sep 18, 2009 at 18:31 ZorzellaZorzella 9,0893 gold badges20 silver badges13 bronze badges 0
Add a ment  | 

2 Answers 2

Reset to default 7

If you switch to the script tab, it will search inside script tags. Just make sure the HTML file is selected in the file drop-down (it should be by default).

If you don't need to use Firebug specifically, you can also search in the View Source window.

FIREBUG does not search properly, it shows no result found... but IE Developer tools works best, as its gets highlighted even in framesets...

发布评论

评论列表(0)

  1. 暂无评论