'undefined' is not a string. Try:
var reliure_var;
if ( _global.pie_glo && _global.pie_glo != "" ) {
reliure_var = "&reliure="+_global.pie_glo;
var_glo.text = reliure_var;
} else {
reliure_var = ³²;
var_glo.text = reliure_var;
}
On 11/14/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote:
H
!== is strict inequality, it tests for the exact opposite of the strict
equality (===) operator.
My bad... I guess I never use the strict operators... Sorry.
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
On 14/11/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote:
var reliure_var;
if (_global.pie_glo !== "" || _global.pie_glo !== "undefined") {
reliure_var = "&reliure="+_global.pie_glo;
var_glo.text = reliure_var;
} else {
reliure_var = ³²;
var_glo.text = reliure_var;
}
I can see two
] >> Undefined value
You have an incorrect not equal: !==
There's just one equal sign: !=
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To
You have an incorrect not equal: !==
There's just one equal sign: !=
!== strict inequality operator
expression1 !== expression2
Tests for the exact opposite of the strict equality (===) operator. The
strict inequality operator performs the same as the inequality operator
except that data
You have an incorrect not equal: !==
There's just one equal sign: !=
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription o
How can I do to send an empty var if there is nothing ? I always get
³&reliure=undefined² and I need an empty var
Thank you very much
var reliure_var;
if (_global.pie_glo !== "" || _global.pie_glo !== "undefined") {
reliure_var = "&reliure="+_global.pie_glo;
var_glo.text = reliure_var;
}
7 matches
Mail list logo