>>What is the actual error though?
Line: 1
Char: 1
Error: 'ms_id127' is undefined
Code: 0

>>Do an alert(theTable), you should get [object].

Yep, I do,

ms_id127 is the uniqueid given for the row,
it can successfully insert cells to the row and output within theTable,

I removed, " + newRow.id + "," + 0 + " and " + newRow.id + "," + 1 + "

from within,

setTimeout("runBlink(" + newRow.id + "," + 0 + ")", delay * i  - ( delay / 2
) );
setTimeout("runBlink(" + newRow.id + "," + 1 + ")", (delay * i) );

then,

function runBlink(){
        //if(blinker){idNewRow.bgColor = ""}else{idNewRow.bgColor =
"orange"}
        alert('test')
}

the object reference newRow.id seems to get lost at this point,
if just before my for loop I do newRow.bgColor = "red"; it runs fine,

I tried,

>>var theTable = parent.document.all.f_userView.myTable

but it killed the script,

I tried alerting each new instance of alert(newRow.id) to check if truely
unique,
maybe that might have been causing the problem but they are unique,

truly confused here, 


-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:12 PM
To: CF-Talk
Subject: Re: any javascripters


What is the actual error though? Double click on the question mark.
That would be very helpful.

Thursday, August 15, 2002, 9:41:15 AM, you wrote:
JM> ----code-----
JM> function writeNewData(){
JM> // assign long reference to shorter var name
JM>         var delay = 1400, blinks = 3;
JM>         var theTable = parent.f_userView.myTable

So this function is running in the frame, right?
Does the theTable object return the object correctly?
Do an alert(theTable), you should get [object].

<snip/>

JM> It works fine within a single document window,

This makes me suspect that one of your object references isn't working
correctly from the frame. Generally I've had better luck passing the
data in the frame back to a function in the parent document that gets
the object references. No need to worry about the different document
objects.
Just on a hunch try this instead of the above line. Might work...This
is IE only right?
var theTable = parent.document.all.f_userView.myTable;


-- 
jon
mailto:[EMAIL PROTECTED]


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to