[jQuery] Re: Filter based on width attribute

2008-09-05 Thread jhead
Thanks, I was able to get the filter to work; now I have to figure out how to get it to act on page load. I wasn't able to get the S function to work - you place the declaration before the actual filtering right? And do I need to include another file besides the core jquery file? I wasn't able

[jQuery] Re: Filter based on width attribute

2008-09-04 Thread [EMAIL PROTECTED]
Try to use: $(td[width=65%]) http://docs.jquery.com/Selectors here you can read about all the selectors. On 5 Sep., 02:17, jhead [EMAIL PROTECTED] wrote: I am wanting to turn all TD tags, that have width=65%, into links, based on the tag text, when the page loads. I don't have access to

[jQuery] Re: Filter based on width attribute

2008-09-04 Thread Michael Geary
I think you're missing some [] in your filter selector: $('td').filter('[width=65%]').click... Also, I strongly recommend using single quotes instead of double quotes for all your JavaScript strings. As you can see, it eliminates the need for the backslash escaping in the filter selector,