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
Para que se usa el string.value, ayudenme a crear una clase cuenta. Manda a pedir si quieres crear una cuenta de ahorro o una de credito...
Αυτό το thread είναι από το 2005. Αν έχεις να κάτι να πεις πόσταρε στα Αγγλικά.
Do you see how frustrating it is that I used my mother language?
> This thread is from 2005. If you have something to post, do it in English.
By the way the above is Greek. Ζήτω η Ελλάς.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.