I have a problem thats puzzling me big time and although i have more complex functions on the page this will not work
I have 3 fields and on the 3rd field i call the functions below
<select name=”kAway” id=”kAway” onChange=”populateAway(this);populateaplayers(this);” onBlur=”popFixtureDate(this);”>
This at the moment is the fuction but just wont activate although the other 2 functions do .
<script> function popFixtureDate(0)
{
alert(‘Populating FixtureDate’);
var d=document.getElementById(‘KFDate’);
var h=document.getElementById(‘kHome’);
var a=document.getElementById(‘kAway’);
var hometeam = h.value.split(‘|’,1);
alert(hometeam);
var awayteam = a.value.split(‘|’,1);
alert(awayteam);
}
</script>
Anyone have any ideas why this wont work??