onreadystatechange and TR element

M

Mark Goldin

I have specified onreadystatechange for TR element:
<table id=ProductionLines datasrc="#xmlProductionLines" border="0"
width="100%">
<tr onreadystatechange="LoadLineGenInfo();">
......
but LoadLineGenInfo function does not fire. Can someone help, please?
 
S

Steve Easton

What event is supposed to fire the readystate change??

You might try checking the ready state and then using it to fire LoadLineGenInfo();"

document.onreadystatechange=fnStartInit;
function fnStartInit(){
if(event.readyState=="complete"){
// Finish initialization.
}
}

Also FP 2003 for a good help file use Windows explorer and go to C:\Program
Files\Microsoft Office\OFFICE11\1033
and double click the file: HTMLREF.CHM
Go to DHTML References > Events

For FP 2002 the path is C:\Program Files\Microsoft Office\OFFICE10\1033.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
M

Mark Fitzpatrick

Are you sure that there is an onreadystatechange event on a tr element? I've
only seen them in reference to full document/frame and xmlrequest objects
and the w3c doesn't list it as a valid attribute.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Top