I also took a stab at this and...had no luck. If it wasn't obvious, I think jQuery is getting tripped up on the : because of :'s association with filters. Not sure if there'll be an easy workaround.
Max On Nov 7, 3:21 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm.. interesting the second one there didn't work... > > Well, I tried (and even just worked up a little page trying some other > things).... good luck getting it rollin' > > On Nov 7, 5:48 pm, "Brian J. Cardiff" <[EMAIL PROTECTED]> wrote: > > > thanks but that it isn't working in this scenario > > > for: > > <span x:foo="bar">Lorem</span> > > > the expression: > > $('span').filter(function(){return $(this).attr("x:foo");}) > > returns the span element > > > but neither: > > $('[x:foo]') > > no: > > $('[x\\:foo]') > > find it > > > any clue? > > > Brian J. Cardiff > > bcardiff(?)gmail.com > > . > > > On Fri, Nov 7, 2008 at 6:11 PM, MorningZ <[EMAIL PROTECTED]> wrote: > > > >http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_... > > > > On Nov 7, 2:06 pm, "Brian J. Cardiff" <[EMAIL PROTECTED]> wrote: > > > > Is there a way to specify an AttributeFilter for attributes within a > > > certain > > > > namespace? I try some alternatives but it seems that is not implemented. > > > > > For example: > > > > <span x:foo="bar">Lorem</span> > > > > > I would need that something like $('[x:foo]') find the span element. > > > > > Thanks. > > > > Brian J. Cardiff > > > > bcardiff(?)gmail.com > > > > .