function validate1(){
if(document.all.doc1.value == ""){
alert('Please select 1st Docoment !!');
document.all.doc1.focus();
document.all.doc2.value = "";
}
var doc1 = eval(document.all.doc1.value);
var doc2 = eval(document.all.doc2.value);
if(doc2 < doc1){
alert('First Document number must greater than secondnd Document number!!');
document.all.doc1.focus();
document.all.doc2.value = "";
}
the script above used to compare string between combo box it can compare integer value but can't compare string value
please help soon