[jQuery] Re: selector as variable

2008-02-06 Thread casavecchio
> That would translate to... > > $jq($jq("...")) > > Sounds like too much jq. I'd try: > > alert(pos.css('top')); > > Cheers > Christpoh > -- > [EMAIL PROTECTED] www.workaround.org JID: [EMAIL PROTECTED] > gpg key: 79CC6586 fingerprint: > 9B26F48E6F2B0A3F7E33E6B7095E77C579CC65

[jQuery] Re: selector as variable

2008-02-06 Thread Christoph Haas
On Wed, Feb 06, 2008 at 12:11:32AM -0800, casavecchio wrote: > i am just trying to read css-properties from div-elements on my site, > but i always get an undefined and cannot figure out what going wrong. > > function showTop(id){ > var pos = $jq("#mx-" + id); >