简体   繁体   中英

Using Javascript with Asp.net for ListBox

I want to use ClientSide Javascript for listbox, it should take values from database table when the page is loaded first time OR load the specific table in javascript, Right Now, all the values are coming from database, if I select "StandardM1(CA)"

打开下拉菜单的用户界面

it brings all the values from "food_menu" table.

选择下拉选项后的用户界面

I want to do the the same thing with client-side javascript in order to save time and server requests, so that the application runs faster. Can some one please guide me?

Faheem use array in it and try to do the coding right on the save button. its the save button that is creating problems

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM