martini
January 22nd, 2003, 09:01 AM
I am using javascript for populating the HTML pages with data. The data is filled in a java vector (mainVector). This vector object has multiple vectors inside it. Now this mainVector is returned by a bean that communicates with the database.
In the HTML page, I have a next and a previous button, on click of next and previous, I need to access mainVector's elements by incrementing or decrementing the counter (For example mainVector(ii)).
I am not able to fetch data(sub vector) from mainVector based on the counter(ii) value. How do I go about solving my problem. Any help would be appreciated.
In the HTML page, I have a next and a previous button, on click of next and previous, I need to access mainVector's elements by incrementing or decrementing the counter (For example mainVector(ii)).
I am not able to fetch data(sub vector) from mainVector based on the counter(ii) value. How do I go about solving my problem. Any help would be appreciated.