What? jQuery can't handle gross js syntax errors? Piffle & rot!
:-p
On May 1, 1:21 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> > $('ul#list_container a:contains(' + hidden_div' + )')
>
> Hey Hamish,
>
> Looks like you switched a quote and a plus around. Should be:
>
> $('ul#list_container a:c
Yea saw that thanks guys. I found the answer right after I sent this
out. Should have looked first. Thanks for the response though.
On Apr 30, 8:21 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> > $('ul#list_container a:contains(' + hidden_div' + )')
>
> Hey Hamish,
>
> Looks like you switched a
$('ul#list_container a:contains(' + hidden_div' + )')
Hey Hamish,
Looks like you switched a quote and a plus around. Should be:
$('ul#list_container a:contains(' + hidden_div + ')')
Cheers,
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 30, 2008
First of all, in this:
$('ul#list_container a:contains(hidden_div)')
The word 'hidden_div' is just a string literal - ie it's just looking
for the word hidden_div. If you want to look for the text you've
assigned to the _variable_ hidden_div you just need to go:
$('ul#list_container a:contains(
4 matches
Mail list logo