length of dropdown

Posted by meyrick on 12-Feb-2014 08:02

Hi

Can somebody please maybe tell what im doing wrong here?

var selectobject= Appery("cboCustomer");
alert(selectobject.length);
for (var i=0; i<selectobject.options.length; i++){
alert(selectobject.options[i].text+" "+selectobject.options[i].value)   
}
 

Thanks

All Replies

Posted by Peter Judge on 12-Feb-2014 08:38

What errors/badness are you seeing?

This thread is closed