This isn't working out for me
var td4th = parseInt($('td:nth-child(4)', jQuery
(this)));
if (td4th.text() 4) || ((td4th.text() 2 (activeCEO ==
'Yes'))
td4th.addClass(bgColor);
If I do this, it works
if (td4th.text() 4)
td4th.addClass(bgColor);
but once I add the rest beyond
This isn't working out for me
Expecting it to?
First post you were comparing: string string... which isn't going
to work
Follow up post after blowing right over Richard's suggestion, you are
comparing string number, which *still* isn't going to work...
and this line doesn't make any
10, 2009 2:46 PM
To: jQuery (English)
Subject: [jQuery] Re: AND OR Expression
This isn't working out for me
Expecting it to?
First post you were comparing: string string... which isn't going
to work
Follow up post after blowing right over Richard's suggestion, you are
comparing string
If I knew what I was doing, why would I be asking for help? I already
know what doesn't work. That's why I posted the question.
Is this right?
if parseInt((td4th.text() 4)) || (parseInt((td4th.text())) 2
(activeCEO == 'Yes'))
On Dec 10, 2:46 pm, MorningZ morni...@gmail.com wrote:
This
var tdval = parseInt(td4th.text(), 10); //base 10
if ( (tdval 4) || (tdval 2 activeCEO == 'Yes') )
- Richard
On Thu, Dec 10, 2009 at 3:26 PM, evanbu...@gmail.com evanbu...@gmail.comwrote:
If I knew what I was doing, why would I be asking for help? I already
know what doesn't work. That's
On Dec 10, 2:59 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Demeaning attitude...real helpful...just make people feel stupid when
they request help. Great community building skills, Z...
Not my attempt not like a give a care what you think of me
anyways i'm at least able to help
On Dec 10, 2:59 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Demeaning attitude...real helpful...just make people feel stupid when
they request help. Great community building skills, Z...
Not my intent he wasn't comparing apples to apples, and didn't
get this... *twice*
not like a
[mailto:jquery...@googlegroups.com] On
Behalf Of MorningZ
Sent: Thursday, December 10, 2009 7:20 PM
To: jQuery (English)
Subject: [jQuery] Re: AND OR Expression
On Dec 10, 2:59 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Demeaning attitude...real helpful...just make people feel stupid when
[mailto:jquery...@googlegroups.com] On
Behalf Of MorningZ
Sent: Thursday, December 10, 2009 7:23 PM
To: jQuery (English)
Subject: [jQuery] Re: AND OR Expression
On Dec 10, 2:59 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Demeaning attitude...real helpful...just make people feel stupid when
On Dec 11, 5:46 am, MorningZ morni...@gmail.com wrote:
This isn't working out for me
Expecting it to?
First post you were comparing: string string... which isn't going
to work
Why not? If the strings are digits that convert to numbers, it will
work. Granted it isn't particularly
Maybe try a filter function:
var filters = $('div').filter(function() {
return this.style.filter;
}).length;
alert(filters);
It won't work in FF because filter is IE-proprietary. Has nothing to
do with jQuery. To test, try this:
var divs = document.getElementsByTagName('div');
Hi Karl,
Yes, I understand filter is IE-proprietary. That's why I try to use
jquery selector to get the filter div list instead of
div.style.filter. But it seems jquery selector cannot handle this
well. As the html is created by M$ mshtml which has some filter styles
in the page.
What I try to
On 4/7/09 6:26 PM, Franck Y franck...@gmail.com wrote:
Is there anyway to implement a regular expression feature.
It does not need to be full regxp butat leat soemthing like star
*ek will match Creek
if what you're looking for is a substring match as opposed to a begins-with
match then see
13 matches
Mail list logo