Yes, indeed that was what I meant to write, but I had the wrong copy in the
clipboard when I pasted it :-)
Thank you.
ciao
dd

On Wed, Apr 27, 2011 at 11:47 AM, Jan Honza Odvarko <[email protected]>wrote:

> or you might be interested in: FBL.getElementCSSSelector
>
> http://code.google.com/p/fbug/source/browse/branches/firebug1.8/content/firebug/lib.js#2001
>
> Honza
>
> On Apr 27, 3:51 pm, Domizio Demichelis <[email protected]> wrote:
> > I have probably found what I was searching:
> >
> > FBL.getElementCSSPath(elm)
> >
> > Thanks
> >
> > On Wed, Apr 27, 2011 at 9:04 AM, Domizio Demichelis <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi Honza,
> > > thank you for the answer, but I didn't meant that. Sorry formy bad
> English.
> >
> > > I have already an element elm (pointing to <div id="myid"
> class="myclass">)
> > > I want to be able to do elm.something or something(elm) in order to
> have
> > > returned the string "div#myid.myclass".
> >
> > > That is something that FB does in order to display for example the node
> > > names in the DOM panel so I would like to kow what should I use to get
> the
> > > same.
> >
> > > Thanks
> > > dd
> >
> > > On Wed, Apr 27, 2011 at 8:42 AM, Jan Honza Odvarko <[email protected]
> >wrote:
> >
> > >> On Apr 27, 2:29 pm, Domizio Demichelis <[email protected]> wrote:
> > >> > What could I use in order to get/create the label of an element like
> > >> <div
> > >> > id="myid" class="myclass"> so to have "div#myid.myclass".
> > >> Do you want to create the element within Firebug panel?
> >
> > >> Firebug UI is generated using Domplate - templating engine producing
> > >> HTML.
> >
> > >> Here is some info about Domplate:
> > >>http://www.softwareishard.com/blog/category/domplate/
> >
> > >> There is many ways how to get the element, you can use e.g.
> > >> document.getElementById
> > >> document.querySelector
> > >> ...
> >
> > >> Honza
> >
> > >> > It's easy to implement, but FB already uses that everywhere and I
> don't
> > >> > think that reinventing the wheel is a good idea. (BTW, I searched
> into
> > >> the
> > >> > code, but I din't found it).
> >
> > >> > Thanks
> > >> > dd
> >
> > >> --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "Firebug" group.
> > >> To post to this group, send email to [email protected].
> > >> To unsubscribe from this group, send email to
> > >> [email protected].
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/firebug?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Firebug" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/firebug?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to