function test(evt)
{
if (document.all)
{
var cell = event.srcElement;
}
else
{
var cell = evt.srcElement;
}
if (cell.parentElement.grid1=="ch")
{
}
}
i have teh above function
if i just usse
var cell = event.srcElement; i get errro in FF as event not defined
but if i use the above function with if (document.all) and all
then i get cell is undefined



Reply With Quote




Bookmarks