>>Well I am testing for any of them, not all of them. Why would you want to do that? do you want results such as
myHtml += "<a href=\"\" target=\"_blank\"></a><br>"; in case myLinker1 is "" or myHtml += "<a href=\"undefined\" target=\"_blank\">undefined</a><br>"; in case myLinker1 is undefined? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, August 15, 2006 7:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot working and code not runnign as expected. André Goliath wrote: > if ((myLinker1 != "") || (myLinker1 != undefined) || (myLinker1 != null)) > { > myHtml += "<a href=\"" + myLinker1 + "\" target=\"_blank\">" + myLinker1 > + "</a><br>"; > } > > but then the trace of my results does not even work (it includes the > records that are empty). > << > > Shouldn´t it be > > if ((myLinker1 != "") && (myLinker1 != undefined) && (myLinker1 != null)) > > ? Well I am testing for any of them, not all of them. IE "" or null or undefined. d _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com