Programming Tutorials

Comment on Tutorial - Using Javascript in JSF By Andrew Robinson



Comment Added by : Mashoud

Comment Added at : 2008-05-04 02:54:38

Comment on Tutorial : Using Javascript in JSF By Andrew Robinson
Hi, You can use a javascript array. Which means when you are retrieving the records from the database, you can also store the values in the Javascript array. And then when you click the 'Delete' button for example you can call a javascript function and pass the 'array' index as the parameter to retrieve the details and display in the alert.

View Tutorial