FreshmenProgrammer
Programmer
First off i would like to say thanks for the help!
I was just wondering how I can call a javascript function just from jsp code. for example what line can I put in that code where the **** ***** are.
Thank you
I was just wondering how I can call a javascript function just from jsp code. for example what line can I put in that code where the **** ***** are.
Thank you
Code:
<script language="javascript">
function setValue(val){
document.myForm.buttonValue.value = val;
}
function closeWin(){
window.close();
}
</script>
if (buttonValue != null && buttonValue.equals("worked")){
********** document.closeWin(); *************
}