Ok in summary what I am trying to do is disable a submit button based on an ajax call which is checking my database to see if data exists under a certain date.
At presen
document.getElementById('FRINSUB').disabled = 'disabled';