If were not interested in an alternative solution to this specific
case, then ignore my other post :)

Ariel Fleser

On 9 nov, 04:41, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Is there a syntax similar to xPath that allows you to do something
> like this:
>
> $('#content a[href$=.jpg or href$=.gif or href$=.png]')
>
> I know this will work:
>
> $('#content a[href$=.jpg], #content a[href$=.gif], #content a[href
> $=.png], ')
>
> ...but I'm just curious if an or keyword (or maybe 'pipe' | ) is
> accepted. Nothing I tried worked...
>
> Carter

Reply via email to