i have posted the a question using the given javascript below:
<script type=text/javascript>
function showData($sel){
var str='';
document.getElementById(demo).innerHTML;
for (var i=0;i<sel.options.length;i++){
str+=(str!='') ? ', '+sel.options[i].value : sel.options[i].value;
}
}
sel.form.selectedFruits.value = str;
</script>
now the question is that how to remove first 5 or 7 using this javascript. please help by setting in this javascript.
thanks in advance.