M
Montezuma's Daughter
Hi All
I wanted to know what is the difference between:
1.getting an object
the first worked for me and the other didn't
var Subform = document.getElementById("Items2");
var Subform =document.all("Items2")
2.I was tryng to do attachedEvent, again the first one worked and the
other didn't, I would like to understand why.
I didn't get any error jus didn't work
var Subform = document.getElementById("Items2");
Subform.onreadystatechange = function() {setIPandDetach
(event.srcElement,currentRowID)} ;
var Subform =document.all("Items2")
document.all("Subform").attachEvent("onreadystatechange", function()
{setIPandDetach (event.srcElement,currentRowID)}
thanks!
I wanted to know what is the difference between:
1.getting an object
the first worked for me and the other didn't
var Subform = document.getElementById("Items2");
var Subform =document.all("Items2")
2.I was tryng to do attachedEvent, again the first one worked and the
other didn't, I would like to understand why.
I didn't get any error jus didn't work
var Subform = document.getElementById("Items2");
Subform.onreadystatechange = function() {setIPandDetach
(event.srcElement,currentRowID)} ;
var Subform =document.all("Items2")
document.all("Subform").attachEvent("onreadystatechange", function()
{setIPandDetach (event.srcElement,currentRowID)}
thanks!