English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have one html page which contain one select and two multi select box.when I select something from select menu(Ex:a,b,c) the corresponding items(a1,a2,a3....or b1,b2,b3....) arecoming in multiselect box.from the first multiselect box1 i am able to transfer the selected datas to multiselect box2.My problem is to retain the datas that are in the multiselect boxes for a particular selction in select box.These values should retain when every time I circulate through the select items.How will I do that.

2007-01-02 14:54:31 · 3 answers · asked by ceeba2005 1 in Computers & Internet Programming & Design

3 answers

http://www.dougv.com/blog/2007/01/03/retaining-selections-from-a-single-select-box-in-two-multiple-select-boxes-via-javascript-dom/

2007-01-02 16:40:12 · answer #1 · answered by Anonymous · 0 0

1> Try to create cookies and send them the values of multiselection boxe, every time when you open, set it to read cookies and format itself to previous selection.

2> Second option is to made database that hold the values of this selection boxes. then when you open this html it reads from dbs and retain its previous selection position.

these only the ideas behind this, can't give u the code. 'coz my code is too large and licensed to company.

use static variables to count the selections made to every selection(give every selection option a integar value). and then call them back.

2007-01-02 15:59:11 · answer #2 · answered by iMaXX 4 · 0 0

Your question isn't clear enough for anyone to understand. Add the same code and a clear explanation of the problem

2007-01-02 14:58:50 · answer #3 · answered by AtOneWithNature 3 · 0 0

fedest.com, questions and answers