hi

Code:
<script type=text/javascript>

var dd=[1,3,4,6,8.2,"w",7,"d","q"]
var df=["a","d","f","g","h","w","q"]

for (i=0;i<10;i++){
if (dd[i] in df) {
document.write(dd[i]+ " " +i);

}
}

</script>
if (dd[i] in df) :

if dd[i] == any element in df ...do something

any suggestions are welcomed.

thanks