search for: firebug

Displaying 20 results from an estimated 257 matches for "firebug".

2006 Jul 26
4
How to Firebug XHR/AJAX requests
Saw a lot of recommendations for Firebug (http://www.joehewitt.com/software/firebug/) on this list. I''ve scanned its docs and tried it--many useful features. But I''m so dense that I can''t get it to spy XHR/AJAX requests and their response on FC5 running Firefox 1.5.0.4 and Firebug 0.4. Can someone tell me h...
2008 Mar 25
6
Prototype 1.6.0.2 + Firefox 3 Enumerable problems
I am using Prototype 1.6.0.2 on Firefox 3.0b4. The following does not work when I enter it in Firebug: $A([1,2,3,4]).each(function(n) {alert(n);}); The above is just an example. Any array, using $A and any enumerable method, returns the following: TypeError: iterator.bind is not a function Seems like some objects are not being extended correctly? Using Prototype 1.5.0 on Firefox 3.0b4, this wo...
2006 Jun 02
5
Firefox extension for ajax debugging
or similar... Is there any extension for firefox so that I can view the source code of ajax returned content? Thanks everybody.
2008 Jan 16
2
Firebug alert issue workaround required
...yleParam = "border"; var widgetStyleValue = "1px solid black"; eval("$("+widgetId+").style."+widgetStyleParam+"=''"+widgetStyleValue +"''"); </script> </html> The problem we''re having is that with firebug enabled the eval line raises the following warning in Firebug: "Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead." as we make ''lots'' of use of the above type of eval statement (and have a large number of page element...
2008 Jul 08
1
Firebug 1.2.0b4 for FF3
The current beta version of Firebug doesn't appear to install on Firefox 3 on CentOS 5.2, apparently because it's reporting itself as 3.0b5 rather 3.0. I tweaked the minVersion requirement in the xpi to 3.0b5 and it seems to be working fine for me now. In case anyone else is interested in testing it, my tweaked version i...
2007 Apr 10
0
Form.serialize(this) returning empty string in onSubmit, Ajax.Update context, works in Firebug watch
This page is ripped from a real application, but its been simplified for debugging, turning off authentication and hiding Secret SauceĀ®. So if you try Form.serialize(''bio_form'') in Firebug you''ll get a url-encoded string back. The parameters to the Ajax.Updater() call a wrapper around Form.serialize which should present an alert with the url-encoded string. It comes up empty. Furthermore, if you use the watch window in the context of the Updater constructor, Form.serialize...
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi I had ajax commenting on my app, which worked perfectly on Rails v1.2.6, but does not work the same in Rails 2.02. Basically the comment gets added, but the visual effects do not work (ie lines 2 + 3 of create.rjs) create.js page.insert_html :bottom, ''comments'', :partial => ''comment'' page.visual_effect :appear, "comment_#{@comment.id}"
2006 Jun 27
2
Bug in Firebug or in RJS? Or something else?
...ontroller which, when it''s finished doing its database-update thing, does a render :update do |page| page.replace_html ... which is _supposed to_ *replace* the content of the <div> from which it was called. Unfortunately, that''s not what''s happening. As viewed in Firebug, the page.replace_html is *adding* the partial to the content of the <div>, not *replacing* the content. When I do a page reload, the <div>s on the page get re-rendered from edit.rhtml and everything''s back to where it should be, until I do a render :update from the controller...
2010 Feb 05
7
I'm having trouble with Routes II
I have narrowed my problem in a prior topic (I''m having trouble with Routes) to the fact that I get the problem, below only when I reload my page. Clicking on links to go to the pages I want ... I seem not to have problems. Given that it seems to be a reload that is generating an "/undefined" path somewhere ... can anyone suggest what I should be looking for to fix the
2011 Dec 19
2
Jquery Modal Dialog with Jquery DatePicker field strange behavior
Hi people. I need your help here, please. I have a rails 3.0.9 app, and I''m using Ajax to save some records to the database. To achieve this, I use a jquery modal form, but one of the fields is a datepicker, and if I click on it to display the calendar it doesn''t work. The thing is, I press submit without fill all the fields, so, my custom validations were shown, telling me
2010 Jun 16
4
firebug jQuery undefined message in rails app
In rails app, I add the following line of code in application.js and I get jQuery is not defined in firebug console. In application.html.erb, I have the following: <script type="text/javascript" src="../javascripts/application.js"></script> <script type="text/javascript" src="../javascripts/jquery-1.4.2.js"></script> and I installed jquery...
2008 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a simple mistake. I''m using the following code to read an external json file and print out its values. The problem is when I try to write the value to the browser it causes the browser to load like it hasn''t finished the javascript code. Its writing the value to the screen so I think its hanging after that
2005 Aug 02
4
Re: [Xen-changelog] Fixes.
On Tuesday 02 August 2005 10:42, Xen patchbot -unstable wrote: > # HG changeset patch > # User smh22@firebug.cl.cam.ac.uk > # Node ID 59e76450e286240decceda23eca343ec4604124f > # Parent 48dea637aac96bcbabe788d036b52570520cc82e > Fixes. Sorry, but could we not make checkin comments like "Fixes."? It would just take a few more seconds to describe it in a complete sentence... Thanks....
2009 Oct 22
11
UFT8 String looks great in MySql, garbage in browser
Hi, I have some seed data in MySql which contains non-ASCII characters (as you''d imagine as these are worldwide placenames that I''m storing). In MySql on the command line they look great, they''re all formatted perfectly, including Arabic and Chinese characters and they look great. However, when I ask my Rails model for one of these fields, and render that in the
2008 Jun 26
7
Strange readyStates in prototype Ajax
...adyState here and transport.readyState are the same (as they always should be?). However, it turns out, maybe 10% of the time the readyState passed into the event handler is completely different from the ready state in the XHR object (transport.readyState). I set up a piece of code to log this in Firebug (but this happens in every browser, mind you): respondToReadyState: function(readyState) { if (readyState != this.transport.readyState) console.log("readyState is " + readyState + " but transport says " + this.transport.readyState + "!!!!!"); And, in the cours...
2008 Feb 21
1
Prototype - Firefox - Slow On Just One Page
...only in Firefox, any code that touches Prototype runs very, very slowly. In particular: I use Effect.BlindDown/BlindUp for dropdown menus. Same html and css on all pages. Flies along on all the other pages; here BlindDown crawls, slower by a couple of orders of magnitude. As far as I can tell from Firebug, the stall is in Element.getDimensions(). As soon as I move off the problem page, the menus are fast again. Another example: a textarea with non-Prototype event handlers. The only use of Prototype in the code is a call to $(foo) to go from id''s to elements, and it''s way slow. It...
2010 Jun 02
1
Ajax with JQuery
I have used Ajax link and live validation in index.rhtml Ajax link requires JavaScript "prototype" and live validation requires "jquery". i got "element.dispatchEvent is not a function" on the firebug console when i used "prototype" and "jquery" in same page index.rhtml after i removed javascript "prototype" library, i got "Ajax is not defined" on the firebug console when i clicking ajax link. how can i use both ajax and jquery in the same page? Can anybod...
2006 Apr 03
11
View source after AJAX update?
Does anyone know how to view the new source in IE after an AJAX update? When I "view -> source" I get the original page source, not the page source as updated. Thanks in advance, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/e8d96b2e/attachment.html
2006 Apr 25
5
to ajax or not to ajax
before I started building my latest rails app, I made the decision to make good use of ajax. My reasonsing was that users would benefit from the quicker page updates - the application provides various different types of insurance quotes, and has several multi-page forms and reports that can be drilled down 5 or 6 levels deep in some cases - so it seemed like a good candidate for ajax Now
2006 May 17
4
weird prototype error when using RJS
I''m trying to set up a nested menu strucutre using RJS I want to be click on an item, have not have the whole page refresh but just have the menu <li id=''Selection''> refreshed 1 - my model is using :acts_as_tree 2 - in my controller I have the following.. it''s just a barebones start at being able to dig DOWN through the chilren def renderMenu