この関数はフォームonSubmit中に実行され、FirefoxとChromeでは正常に機能しますが、IEでは機能しません。indexOfだと思いますが、動作させる方法が見つからないようです。
function checkSuburbMatch(e) {
var theSuburb = document.getElementById('suburb').value;
var thePostcode = document.getElementById('postcode').value;
var arrayNeedle = theSuburb + " (" + thePostcode + ")";
if(suburbs.indexOf(arrayNeedle) != -1) {
alert("Suburb and Postcode match!");
return false;
} else {
alert("Suburb and Postcode do not match!");
return false;
}
}