firebug

FireBug - inspect element problem -- showing different interface?

When I used to use Firebugs inspect elements feature it displayed the results like this below. Nice, nested tags on the left...css style on the right. Recently, however, when I try to inspect elements it always shows this: I've tried reverting to older versions of FireBug (can't remember if it started after an update?).. I've poked ar...

Firebug profiling issue: "no activity to profile"

I want to try some different options with some javascript (jQuery) to see which is the fastest, however I can't get profiling working properly. Here is the code I want to test. $this.keypress(function(e) { console.profile("test"); //retrieve the charcode if possible, otherwise get the keycode k = e.which ? e...

Javascript fine grain performance tweaking

I have been writing my first jQuery plugin and struggling to find a means to time how long different pieces of code take to run. I can use firebug and console.time/profile. However, it seems that because my code executes so fast I get no results with profile and with time it spits out 0ms. (http://stackoverflow.com/questions/2690697/fir...

Did you find any better feature in IE 8 Developer than firebug ?

Does IE 8 Developer toolbar have something better than firebug ? How to use IE 8 Developer toolbar in a way like we use firebug in firefox.? Is there any good tutorial on "how to take good use of IE 8 Developer toolbar"? ...

What is the use of firebug's "Open With Editor" function?

What is the use of firebug's "Open With Editor" function? ...

Like live editing of XHTML and CSS in firebug can we do live testing of javascript without leaving page?

Like live editing of XHTML and CSS in firebug can we do live testing of javascript without leaving page? ...

How to get Firebug to tell me what error jquery's .load() is returning?

I'm trying to find out what data/error jquery's .load() method is returning in the following code (the #content element is blank so I assume there is some kind of error). Where do I find in Firebug what content or error .load() is returning? How can I use console.log to find out at least what content is being returned? <!DOCTYPE ht...

why does firebug debugging sometimes work and sometimes not?

I want to debug a javascript file that is embedded in the HEAD element. I navigate to the site, see the code, and make a breakpoint: But when I click on Reload, the script disappears and it doesn't stop at the breakpoint: Debugging was working earlier so I know it works in general. What do I have to do so that Firebug always debug...

how can i look, wich jQuery function is binded to the element?

i found a site, which has some function that i need, in javascript. It's using jQuery, when i clicking tag, some function has been executed, so jQuery set a bind for tag.. but how i could found wich function is binded for it? Firebug didn't show it to me :( ...

Is there a Firebug console -vsdoc.js?

If not, does anyone care to write one? I would do it myself...but I don't have time right now...maybe next week (unless someone beats me to it). If you are bored and want to compile the vsdoc: Here is the Firebug API. Here is a blog post about the format for VS doc comments for intellisense. Here is an example vsdoc (jquery-1.4.1-vsdoc....

how to view associated click function code

For example, i associate following function with some element $('table#users tbody tr:first #save').click(function(){ $(this).closest('tr').remove(); }); Now, if i don't know where this function is stored, is there a way to view associated with click() code? In above example, i want a way to view that in firebug, or in another way...

jQuery attribute auto added to elements

After using the IE8 built in Developers Tools for the first time, I noticed jQuery is attaching an attribute to some of my elements: I've never noticed this before. In fact, this doesn't show up in Firebug... I'm only seeing it for the first time now in IE8 Developer Tools. Does anyone know what jQuery uses this for, and why it's hidde...

What is the best developer toolbar for IE?

I use 'FireBug' extension of FF to debug designed webpages and installed 'IE Developer Toolbar' for IE to get this purpose, but it is not as good as FireBug. It is difficult to work with it. Are there any other extension for IE that are more user friendly and easy to use?? ...

Firebug shows error "_11 is undefined"

Actually that's it. What does this error mean? I've googled on it, but found nothing. This error appears in firebug console after the page is loaded, or when i click on tabs. It does not prevent the execution of another JavaScript code, but the nature of it is mysterious for me. ...

jQuery works on local host, but not on website

Using Notepad++ and XAMPP to test stuff, then I upload it to the website over FTP. In the head of my code, I have this to call jQuery and the script: <script type="text/javascript" src="/jquery.js"></script> <script type="text/javascript" src="/portfolio.js"></script> and it works fine locally on my XAMPP server. But as soon as it's...

Coping with weak typing

I'm a front end Flex developer peeking over the wall at html. One of the things I have a hard time with is weak typing in Javascript. I know many developers say they prefer it. How do I stop worrying and learn to love the weak typing? Are there best practices for variable naming that help make var types human readable? Another thing I h...

XMLHttpRequest leak

Hi everyone, Below is my javascript code snippet. Its not running as expected, please help me with this. <script type="text/javascript"> function getCurrentLocation() { console.log("inside location"); navigator.geolocation.getCurrentPosition(function(position) { insert_coord(new google.maps.LatLng(position.coords...

Debugging dynamically added Javascript code

One of the programmers I worked with has something similar in code: var head = document.getElementsByTagName("head")[0]; var e = document.createElement("script"); e.type = "text/javascript"; var b = "function moo() { alert('hello'); }"; e.appendChild(document.createTextNode(b)); head.appendChild(e); moo(); This is all good and ...

Can you transport a Javascript object to server and receive it in the same state?

I'm considering creating a simple remote debugging application for Javascript. Actually, I want to provide an object to Firebug Lite and let it do all the job. So, can I get an object from one page, serialize it, send it to server and then to another browser and finally see the same results in Firebug Lite (on that other client) as I wo...

Is it possible to return the "highlighted" (like Firebug) css selector or dom id with jquery?

Hi Folks, When you click the "Click an element on the page to inspect" arrow with FireBug, it puts a Blue Border around the target element, and also returns the DOM Id. I am building an application and that feature would be awesome to add. Be able to hover over elements and highlight the target, upon clicking return the DOM Id or CSS ...