Infact, here's a way to get validation working in Firefox and IE. Note that I've not tested this in other browsers, so be warned:
booking.asp:
Replace function showDefinition with this:
PHP:
function showDefinition (id, idOuter, name, definition)
{
var elements = document.all || document.getElementsByTagName('*');
var html = "<b>" + name + "</b> -<br>" + definition;
elements[idOuter].style.visibility = "visible";
elements[id].innerHTML = html;
return;
}
Booking2.asp:
Replace function showDefinition with this (note that it is different to the above):
PHP:
function showDefinition (id, idOuter, name, definition)
{
var elements = document.all || document.getElementsByTagName('*');
var html = "<b>" + name + "</b>[B] <br>" + definition + "<br><br>";
elements[idOuter].style.visibility = "visible";
elements[id].innerHTML = html;
return;
}
You'll have to quote my post and then copy the code from there, because the forum is stripping out the br tags when you view it normally above^.