I have a website which defines the followign handler in its body
[CODE=javascript]window.onload = function(){
try{
var id = document.getEle mentById("resul t");
id.innerHTML = 'Loaded';
}cach(e){
alrt(e.descript ion);
}
MLS.GotRFID = function(res){
alert(res);
}
}
[/CODE]
When this code runs, sometimes it works perfectly fine, but other times, the page throws an error saying the page is invalid. I am alittle confused what the error messahe means and googling the term oesnt bring anything fruitful back.
Any help would be appreciated:
[edit - removed useless links]
[CODE=javascript]window.onload = function(){
try{
var id = document.getEle mentById("resul t");
id.innerHTML = 'Loaded';
}cach(e){
alrt(e.descript ion);
}
MLS.GotRFID = function(res){
alert(res);
}
}
[/CODE]
When this code runs, sometimes it works perfectly fine, but other times, the page throws an error saying the page is invalid. I am alittle confused what the error messahe means and googling the term oesnt bring anything fruitful back.
Any help would be appreciated:
[edit - removed useless links]
Comment