let me explain this briefly so anyone could understand...
first , here is my table. (though its not like a table). ID, ITEM and POINTS as my Fields.
ITEM has corresponding POINTS...
for example, ITEM "notebook" has "10" POINTS.. and so on..
will some one answer my query? or is there some thread similar to this Topic? or if ever that you can't understand what my Q is, then tell me.. plz answer. thankz.. I badly need ur help coz thats my project.. and i need the solution for it badly.. thankz
1). When the user selects the Item submit the page and get the value of Points and then populate the textbox.
2). When you are loading the values of Points into the combobox, you could also create an array of points. Then store the array value into a hidden textbox and use javascript to select the correct Point value and populate the textbox.
3). Load a javascript array and then use javascript to select the correct amout of points when the user selects a value from the combobox. You can use the onChange event of the <select> element.
There are a couple of other things that you could also do.
Bookmarks