So try, with 2 single quotes like this:

if (allSpeakers.dataProvider[allSpeakers.selectedIndex]['speakerPhoneNo']
!= '')


Felipe



On 8/9/05, Ida Chen <[EMAIL PROTECTED]> wrote:
> If I change it from null to undefined, those defined records will no longer 
> show up, basically leaving a blank space.
> 
> I used != 'null' because when I select the records will null field, the text 
> "null" shows up in the panel.
> 
> 
> >Try change
> > if (allSpeakers.dataProvider[allSpeakers.selectedIndex]['speakerPhoneNo']
> >!= 'null')
> >to
> >if (allSpeakers.dataProvider[allSpeakers.selectedIndex]['speakerPhoneNo']
> >!= 'undefined')
> >or you can use tha short if sintax in the bind like this:
> >bind="{(allSpeakers.selectedItem.speakerPhoneNo != undefined) ?
> >allSpeakers.selectedItem.speakerPhoneNo}"
> >
> >Felipe
> >
> >On 8/9/05, Ida Chen <[EMAIL PROTECTED]> wrote:
> >>
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214254
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to