
Hi Sir,
The below java script code is not working in Google chrome can yo give me the solution as soon as possible.
<script type="text/javascript">
function setValue(){
var val="";
var frm = document.getElementById("SearchCandForm");
var cbs = document.getElementById("SearchCandForm").checkboxname;
for(var n=0;n<cbs.length;n++){
if(cbs[n].checked){
val+=cbs[n].value+",";
}
}
var temp = val.split(",");
temp.pop();
frm.textname.value=temp
}
</script>
</head>
Regards, Santhosh.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.