On Dec 11, 5:46 am, MorningZ 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 robust, but:
ooglegroups.com [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" wrote:
> Demeaning attitude...real helpful...just make people feel stu
groups.com [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" wrote:
> Demeaning attitude...real helpful...just make people feel stupid w
On Dec 10, 2:59 pm, "Rick Faircloth" 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 give a care what you
On Dec 10, 2:59 pm, "Rick Faircloth" 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 this forum
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 wrote:
> 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 th
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 wrote:
> > This isn't working out
ent: Thursday, December 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'
> 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 s
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 beyon
10 matches
Mail list logo