<script src="prototype-1.4.0.js"></script>
<script>
function showList(){
var simpsons = ['Homer', 'Marge', 'Lisa'];
var sss = ['s','a'];
simpsons.each( function(familyMember,index){
alert(familyMember+"="+sss[index]);
});
}
showList()
</script>
<input type="button" value="Sample Count" οnclick="demoDollar_R();" >
<script>
function showList(){
var simpsons = ['Homer', 'Marge', 'Lisa'];
var sss = ['s','a'];
simpsons.each( function(familyMember,index){
alert(familyMember+"="+sss[index]);
});
}
showList()
</script>
<input type="button" value="Sample Count" οnclick="demoDollar_R();" >