SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Resource

Databound Listboxes

Categories...
Language
JavaScript
Product
IE4
Task
Database Interface
Technology
Data Binding

Sponsored Links
Developer's Paradise : Inside Technique :
Databound Listboxes
Submission by SiteExperts Staff

Go to the resource:
Databound Listboxes

Add to Assistant

Short Description
Use the data source controls to populate your list box from an external file or database.

Long Description
Use the data source controls to populate your list box from an external file or database.

Author
Scott Isaacs
Submission URL
http://www.SiteExperts.com/tips/databinding/ts01/page1.asp
Submission Date
Jan 1,1998
 

Discussion and Rate this Resource
Overall Rating: 4.7

jorgesimoes on Feb 25, 2005 at 5:45:33 AMRating: 4

I had some trouble using this code, although it is very useful and in the end it worked well. What happened was that the list stayed disabled even after loading the contents from a text file. I simply had to leave it enabled all the time...

Another issue I'm having is that the data binding works great as long as I'm loading data from a local file, but whenever I try to load from a remote file it doesn't work. I tried several formats for the "DataURL" parameter (now it's something like "//www.xxx.com/links.txt"), but can't get it to load. Am I doing something wrong?

Stelladave on Oct 26, 1999 at 6:10:40 PMRating: 4

Ok, works good, BUT how do I attach the 'selected' value to one of the options.

I tried

el.defaultSelected = true

but it didn't work.

The idea is that say I have a list of products which are editable so one of the variables on the product is a relationship to a price matrix which has a code. Each product may have a different price code, but will need all of the prices available (within a select field) if any alteration is to take place. Therefore when the listbox is originally populated I want the slected field to reflect its current status, however this needs to be alterable if any editing is to take place.

If anyone has any ideas how to attach the selected format to this script please let me know on dre@expansion.co.uk

Thanks.

Stella.

chudez on Oct 10, 1999 at 10:19:56 PMRating: 5
effective and straight to the point! THANKS.
irishstout on Aug 9, 1999 at 12:17:34 PMRating: 5
Curious? I would like to call information from a text file using both IE and Navigator.  Is this possible?
rmlm on Jul 28, 1999 at 6:39:47 AMRating: 5
Just fantastic and it really works!

More Ratings/ Comments


To rate and comment on a resource, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.