NJLDoc
Programmer
- Jan 25, 2002
- 93
I have a page that requires dynamic buttons. I need buton1 to increment a value in textbox1 and button2 to increment textbox2 and so on. The values of the buttons are derived from a database. If I use ASP buttons, each time a button is clicked the whole page reposts causing an on screen flash effect. If I use HTML buttons where no post or screen flash occurs, I can return the value of the button through alert but cannot increment the required textbox.
Scenario:
Button1 = Book A, textBox1 = 3
Button2 = Book B, textBox2 = 1 etc...
I want to, on submit (post okay here causing screen flash), scroll through the text boxes and buttons to compile listing of books with count greater than zero. The number of buttons is determined by the database listing of books so could have several hundred buttons.
Scenario:
Button1 = Book A, textBox1 = 3
Button2 = Book B, textBox2 = 1 etc...
I want to, on submit (post okay here causing screen flash), scroll through the text boxes and buttons to compile listing of books with count greater than zero. The number of buttons is determined by the database listing of books so could have several hundred buttons.