Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Editable list boxes

Status
Not open for further replies.

tkjames

Technical User
Apr 23, 2001
10
US
I am using ASP for my web project. I want to display an editable list box just I like I used to do in the client server version using Power builder.
-List should show multiple records.
-It should be possible to update cells (Fields) in the list
-Should be possible to display cells in combo box style
- I do not want to use any Activex.

Any ideas? Please help
 
You will need to use a combination of Javascript and Form elements, then you will need to submit that form to your ASP page.

By using the new Option constructor in a javascript function, you can create new options in your list.

ex:
function newOpt(val, showThis){
document.myformname.mylistbox.options[0] = new Option(val,showThis, false, false)
}

the two falses are for default selected and selected... i think.

anyhow - check for more information.

hth
leo
leo
 
I am also very interested in an editable list box solution, and am VERY new to ASP. I checked the DevGuru site; maybe I was looking in the wrong place there, but I just couldn't find it. Any other links or resources?

Many thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top