[jQuery] Re: selecting spans with an attribute of "for"

2009-03-31 Thread Captain Betty
o risky things at once: using an invalid attribute, > and giving the attribute name a reserved word in javascript. That's > asking for trouble! > > cheers, > - ricardo > > On Mar 31, 8:13 pm, RobG wrote: > > > > > On Apr 1, 4:44 am, Captain Betty wrote: > &g

[jQuery] selecting spans with an attribute of "for"

2009-03-31 Thread Captain Betty
Hi everyone. I have a weird issue with selecting spans with the “for” attribute. jQuery doesn’t seem to want to select it if the span is physically on the page. Physical test (fails): I have Some text here in on the page. My jQuery: $(“span[for=lid]”).css(“background”, “red”); Nothing happe

[jQuery] Re: "$ is not defined" error

2009-01-03 Thread Betty
Oh, I know why there is such a script element. It's one of the wordpress plugins I use. -.- Strangely, it only conflicts with Firefox. I don't know how to thank you, Mike. It's so kind and patient of you. You are the best person I've met this year. :) On Jan 3, 6:38 pm, Be

[jQuery] Re: "$ is not defined" error

2009-01-03 Thread Betty
OMG! I didn't put that noscript thing there. I don't know why it's there. I'll check if my site is hacked... You are like my savior. Thank you so much! On Jan 3, 4:38 pm, "Michael Geary" wrote: > Aha! I figured it out. It wasn't the cloning vs. moving thing I was talking > about at all. Sorry -

[jQuery] Re: "$ is not defined" error

2009-01-03 Thread Betty
quot;cancel", the comment form will be put back to the bottom. On Jan 3, 4:07 pm, "Michael Geary" wrote: > Glad to help, Betty. > > But I think I may have been confused too. (Actually, I *know* I'm confused > at this point.) > > Here's a post from Dave M

[jQuery] Re: "$ is not defined" error

2009-01-03 Thread Betty
ow the same rules. It seems like they do move the object instead of copy it? I'm confused now... On Jan 3, 3:31 pm, Betty wrote: > Thank you, Mike. You're so patient and helpful! > Apparently I didn't understand insertAfter() well enough. I thought it > would move the object

[jQuery] Re: "$ is not defined" error

2009-01-02 Thread Betty
ther is), but this > should help point you toward a solution. > > Note that the second version of the code: > > $('#respond').clone().insertAfter($("div.comment")); > > leaves the document in a somewhat invalid state, because there are now two > eleme

[jQuery] "$ is not defined" error

2009-01-02 Thread Betty
I get this error in the Firefox error console: "$ is not defined". it points me to line $("div#respond>h3").html("Reply to"); I'm sure I've set jQuery properly because it works fine in other browsers and the other jQuery effects I use can work in Firefox. Only this part does not work. Actually, i

[jQuery] Re: code dosen't work if put after some other code

2008-11-29 Thread Betty
>        }, function(){}); > > }); > > So, leaving out the second function causes some funny behaviour. I'd have > expected nothing to work. > > > > On Fri, Nov 28, 2008 at 9:38 PM, ricardobeat <[EMAIL PROTECTED]> wrote: > > > hover() is meant to be

[jQuery] Re: code dosen't work if put after some other code

2008-11-28 Thread Betty
works. Please help me. Thank you very much! On Nov 29, 3:05 am, brian <[EMAIL PROTECTED]> wrote: > I think you'll need to post the exact code you're having problems with. > > > > On Fri, Nov 28, 2008 at 8:32 AM, Betty <[EMAIL PROTECTED]> wrote: > > > Hi, I&#

[jQuery] code dosen't work if put after some other code

2008-11-28 Thread Betty
Hi, I'm new. I've written two pieces of code with jQuery. Each of them works well individually. However, if I put them one after the other, the first one still works, but the latter one will not work. If I change their order, it's always the first that can work and the latter one that can't work.

[jQuery] code does not work if put after other codes

2008-11-28 Thread Betty
Hi, I'm new. I've written two pieces of code with jQuery. Each of them works well individually. However, if I put them one after the other, the first one still works, but the latter one will not work. If I change their order, it's always the first that can work and the latter one that can't work.

[jQuery] Autolinking Twitter @usernames with jQuery

2008-10-22 Thread Betty B
Hi, Fairly new to this, I'd like to know if such a thing is possible with jQuery: I have a social bookmarks-like page where users can post a link and description. I'd like to have some kind of function that would automatically link @USERNAME to that persons Twitter page (http:// twitter.com/USER