I did copy and paste that, but I did manage to track down that problem. It was a syntax error in a $(document).ready() function that was included in an external script (this one is specific to a particular page).
I do have one other question, though. I'd like to get the top & left positions of an element's parent so that I can shift the main element to overlay it's parent. I have a block of content and I want to overlay a child block so that the parent is completely covered. Any thoughts? Thanks. On 3/17/07, Josh Nathanson <[EMAIL PROTECTED]> wrote: > Did you copy and paste that? Looks like there's an extra space after the > attr method, before the open parenthesis. The syntax looks fine to me. > > ----- Original Message ----- > From: "Rob Wilkerson" <[EMAIL PROTECTED]> > To: "jQuery Discussion." <[email protected]> > Sent: Saturday, March 17, 2007 6:03 PM > Subject: [jQuery] Selector not firing > > > > Maybe I've been looking at this for too long, but the following line > > just doesn't seem to be firing within $(document).ready() > > > > $('[EMAIL PROTECTED]').attr ( "href", "/2007/sponsorship.html" ); > > > > I want it to change all links to a sponsorship.html page to a page by > > that same name in a different directory. There are other statements > > in that same document.ready() that seem to be firing perfectly. > > > > What am I missing, here? > > > > Thank you. > > > > Rob > > > > _______________________________________________ > > jQuery mailing list > > [email protected] > > http://jquery.com/discuss/ > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
