ProMaster
Programmer
- Mar 19, 2011
- 1
Hi all i have this code
<TR id="tr1" onClick="var ret_val = clickedfun(this.id)" />
, and this javacript code
<script language="javascript">function clickedfun(tid) {var elemento = document.getElementById(tid);if(confirm("Tem a certeza que quer remover esta fila?")){elemento.style.visibility='hidden';var numero=tid.substring(2,tid.length);return numero;}}</script>;
i want to get the return value of the javascript function to use in database for deletion of that value
please help i'm usin jsp and java classes.
Thanks guys.
<TR id="tr1" onClick="var ret_val = clickedfun(this.id)" />
, and this javacript code
<script language="javascript">function clickedfun(tid) {var elemento = document.getElementById(tid);if(confirm("Tem a certeza que quer remover esta fila?")){elemento.style.visibility='hidden';var numero=tid.substring(2,tid.length);return numero;}}</script>;
i want to get the return value of the javascript function to use in database for deletion of that value
please help i'm usin jsp and java classes.
Thanks guys.