Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DataTable pagination and Javascript

843844Apr 10 2007
Hi,
I have a DataTable that has two pages. The user can enter an employee ID and i have to populate all the other fields for that row.

Each row has a expenses field. I have to calculate the total for all the rows when a user enters certain amount in that field (remember, the DataTable has 2 pages), using Javascript.

I can use valueChangeListener and calculate the total in the backend. but that's not an option as there are 3 such fields for each row.

For some reason, the script doesn't work in the second page.

Can someone tell me how to achieve the calculation using javascript for all the rows in 2 pages?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2007
Added on Apr 10 2007
0 comments
208 views