i got a problem with java script
i written a href tag in jsp page
i was not able to get selected value into a variable in java script function.
see my code here. here iam taking customer value from database.
Expand|Select|Wrap|Line Numbers
- <BODY>
- <table>
- <td>
- out.println("<a href='#' onclick='subwindow()'>" +customer+ "</a>");
- .
- .
- .
- .
- function subwindow() {
- }