After Releasing the report, sometimes you need to get the cell value by the mouse click event of the cell, how to implement the requirement? RAQ Report implements this function by Defining this function in jsp. Firstly, we need to know how the report is displayed on the web page. showReport.jsp under the installation directory of RAQ Report: \webapps\quiee\reportJsp is a typical jsp example of report display: [img][/img] From the figure above, it can be seen that the whole report tag < report:html> is included in a < table> tag, when report is expanded, it is actually expanded in this table. If you want to get the cell value by mouse click event, you have to locate the cell, And how to locate a cell? Use the name attribute in < report:html> tag, then add the cell name to locate the cell: for example: report1_A1 represents cell A1 in report1. Next, add a JavaScript function in the page, which is used to get the cell value. < script language=�javascript�> function _getDispValueByName(){ var cell = document.getElementById(�report1_A1″); // locate the cell by ID alert(cell.value); // pop up a message box to display the cell value by alert() function } < /script> Last step, display the effect, add a button in the page which can trigger this JavaScript function < input type=�button� onclick=_getDispValueByName() value=�check�> The effect is as follows: [img][/img] This example tells us not only how to locate the cell and get the cell value, but also that the powerful Javascript function can be used in RAQ Report to implement many special functions.