How can I search inside javascript for text using firebug?

The "search" (magnifying glass) in the upper right 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 on the page, I can't find where "fooBar" is. Is there a way to do this?

+2


source to share


2 answers


If you go to the script tab, it will search inside script tags. Just make sure the HTML file is selected in the file dropdown (it should be the default).



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

+7


source


FIREBUG doesn't search properly, it doesn't show the result ... but IE Developer's tools work best as it gets highlighted even in framesets ...



-1


source







All Articles