Thanks. But i can't use this because i need to pass the index value of the combo box to another function for evaluation and then place the result on the textbox.
Hello,
In case you are using JavaScript, see below:
<HTML>
<HEAD>
<TITLE> Select </TITLE>
<script language="JavaScript">
function validate(index,val,txtbox) {
alert(index);
// do some validation
// if ok
setTxtbox(val,txtbox);
//else do something else
}
function setTxtbox(val,txtbox){
txtbox.value = val
}
</script>
</HEAD>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.