Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-19 Thread Choan C. Gálvez
On 10/18/06, John Resig [EMAIL PROTECTED] wrote: Well, I don't doubt that people use the lang attribute as intended (considering that I've never made a non-english site) - however, there's certainly never been a need for the ~= selector - which is only remotely useful with lang-related

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-19 Thread David Duymelinck
Choan C. Gálvez schreef: On 10/18/06, John Resig [EMAIL PROTECTED] wrote: Well, I don't doubt that people use the lang attribute as intended (considering that I've never made a non-english site) - however, there's certainly never been a need for the ~= selector - which is only remotely

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-18 Thread David Duymelinck
John Resig schreef: Honestly, I've never seen anyone use the lang attribute - let alone have a need to select it using a CSS selector. Hence the reason for removing it. I've used the lang attribute of the html tag to extract the right language for the links in a multilingual top level

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-18 Thread Klaus Hartl
David Duymelinck schrieb: John Resig schreef: Honestly, I've never seen anyone use the lang attribute - let alone have a need to select it using a CSS selector. Hence the reason for removing it. I've used the lang attribute of the html tag to extract the right language for the links in

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-18 Thread Choan C. Gálvez
On 10/18/06, John Resig [EMAIL PROTECTED] wrote: Hi Choan - Hi John, thanks for answering. * Attribute selector [EMAIL PROTECTED] doesn't work (returns any element with a class name) * Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element with a hreflang

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-18 Thread John Resig
I've used the lang attribute of the html tag to extract the right language for the links in a multilingual top level navigation. This is the code i use var currentLang = $(html).eq(0).attr(lang); I change the lang attribute with php. by doing that the site is also semantically correct. we

[jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-17 Thread Choan C. Gálvez
Hi all. While playing with CSS selectors, I've found some strange things (I'm using the SVN version, rev 445): * Attribute selector [EMAIL PROTECTED] doesn't work (returns any element with a class name) * Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element with a hreflang

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-17 Thread Blair McKenzie
Have you tried putting quotes around the values (ie en, es, fill-0)?BlairOn 10/18/06, Choan C. Gálvez [EMAIL PROTECTED] wrote:Hi all.While playing with CSS selectors, I've found some strange things (I'm using the SVN version, rev 445):* Attribute selector [EMAIL PROTECTED] doesn't work (returns

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-17 Thread John Resig
Hi Choan - * Attribute selector [EMAIL PROTECTED] doesn't work (returns any element with a class name) * Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element with a hreflang attribute) Has the support for these selectors been removed? Yes, I removed support for those

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-17 Thread Ⓙⓐⓚⓔ
John, when I saw hreflang, I assumed you supported any attr... what atttibutes do you support? is this another place where you should throw an exception? On 10/17/06, John Resig [EMAIL PROTECTED] wrote: Hi Choan - * Attribute selector [EMAIL PROTECTED] doesn't work (returns any element

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-17 Thread John Resig
when I saw hreflang, I assumed you supported any attr... what atttibutes do you support? Ah, you misunderstand me. Any attribute is supported - that's not the problem. The |= and ~= operators are not supported. For example ~= (which is used with hreflang and lang attributes) parses some

Re: [jQuery] Selectors [EMAIL PROTECTED]|=val] and [EMAIL PROTECTED] Have they been removed?

2006-10-17 Thread Ⓙⓐⓚⓔ
Ok... I recognized ^= , $= and that was plenty for me! |= seemed weird, and I thought ~= was for a regex. On 10/17/06, John Resig [EMAIL PROTECTED] wrote: when I saw hreflang, I assumed you supported any attr... what atttibutes do you support? Ah, you misunderstand me. Any attribute is