I looks like Kim started a whole new thread to me.  Maybe you're
having a problem with your email client, Saidur?

On Dec 9, 2007 7:10 AM, Saidur <[EMAIL PROTECTED]> wrote:
>
> Hi kim why you change the discusson subject.
>
>
> On Dec 9, 3:30 pm, Kim Johnson <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > I just spent the last hour trying to figure out why a
> > piece of jquery wasn't working, and finally tracked it
> > down to inaccurately assuming you could overwrite an
> > attribute with attr. Using attr to blank out values
> > (ex: .attr("name", "")) seems to work fine, but as
> > soon as I try to use it with an actual variable (ex:
> > .attr("id", idvar)), nothing happns.
> >
> > I finally discovered that the code worked perfectly if
> > I called removeAttr("id") first, prior to the
> > .attr("id", idvar) call.
> >
> > Can anyone explain to me why overwriting doesn't work
> > with attr? Is this a bug? Am I missing some kind of
> > core concept?
> >
> > Thanks,
> > ~Kim
> >
> >       
> > ____________________________________________________________________________________
> > Never miss a thing.  Make Yahoo your home page.http://www.yahoo.com/r/hs
>

Reply via email to