Hi

I cann't get count the selected list box items using javascript so you please help me.
if you know means please send to me

Advance thanks

JavaScript != Java

Have already asked the admins to move this thread.

alert(listboxelem.length);

Try this below code.

<html>
<script language-"javascript">
function countselected()
{ 
var selOpts= $("#cboList").find("customer").length+1;
alert(selOpts);  
</script>
</html>   
}

It was working fine for me.

alert(listboxelem.length);
alert('The question you are answering was asked 2 1/2 years ago');
var selOpts= $("#cboList").find("customer").length+1;

It was working fine for me.

alert('The question to which you have just given a wrong answer was asked 2 1/2 years ago');

The resurrection of this thread was annoying, but at least the other poster got the answer and the language right.

commented: You better to reply this post past 2 1/2 years ago. +0
alert('The question you are answering was asked 2 1/2 years ago');

aware of that, though is still relevant for future reference