|
call a function from jsp
I am new to JSP
I have implemented 4 radio buttons,
when user clicks on a radio button , it should automatically a function in .js
<input type="radio" name= "publication" value= "value1" id="1234" onclick="myfunction('this.value')">r1<input type="radio" name= "publication" value= "value2">r2<input type="radio" name= "publication" value= "vaue3">r3<input type="radio" name="publication" value="r4">r4
I have this function in .js
function myfunction(siteid)
when I clcik on radio button r1 , the function is not getting called
help me
Thanks in advance
bye
Javaguy
|