I tested it outside of a Qtip and the width is reported accurately. Seems
as if Qtip is performing its own 'magic' that I need to understand as well
as why Firebug can do it.
Thanks, Jim
On Sunday, September 8, 2013 12:56:49 PM UTC-4, Jim Stapleton wrote:
>
> This is not really a Firebug issue per se, but a "how do you do it" one.
> I'm trying to obtain the width of an element and regardless of method used
> (JQuery or pure Javascript) the return from say,
> document.getElementById("ent-13").clientWidth() or $("#ent-13").width()
> both return zero. When I look at the DOM panel in Firebug I see a non-zero
> value.
>
> What kind of magic does Firebug use to get real values when the standard
> ones don't work?
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/eb1fd023-da94-41a2-ba16-a4e6f237c7d0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.