[jQuery] Attribute Selectors

2009-10-08 Thread vmrao
I have the following code. var newsCookie = readCookie('newsTabCk'); var tabId = $(#tabPanel2 ul li a[onclick*=newsCookie]).attr('id'); In the second statement above, newsCookie is being considered as text rather than a variable. What should be done to consider newsCookie as a variable rather

[jQuery] Attribute selectors different for XML than for HTML?

2009-01-30 Thread GreatBigBore
I ran into a problem today trying to select elements in an XML tree. I finally got it to work, but I had to make my XML handling different from my HTML handling. Can someone help me to understand whether this is a jquery bug or just a gap in my understanding? To select my desired node in my HTML

[jQuery] Attribute selectors

2007-05-27 Thread Adrian Gheorghe
Hello everyone, In a project, a few weeks ago, I needed support for something like @attr!=val, that is selecting all attributes which don't have a certain value (for example selecting all divs which don't have a certain class). I was wondering if support for something like this is planned, if