Umm,

I was in an Iframe actually..

>>> [EMAIL PROTECTED] 19/08/2004 2:40:30 pm >>>

There's something wacky here:
ST> window.parent.document.formname.SB_DEBTOR_COMPANY_NAME.value

If you are referring to your windows parent, that means you are in a
frame, which then means that the parent can't contain a document with
a form in it.

Did you mean 'opener' instead of parent? Or else I'm not understanding
what you are trying to do... or is some IFRAME thing?



Thursday, August 19, 2004, 2:24:40 PM, you wrote:

ST> Hi,

ST> The javascript/cf

ST> var formname = <cfoutput>'#URL.formname#'</cfoutput>;

ST> creates javscript like

ST> var formname = 'SBMT21_C';

ST> However, the js statement below:
        
ST> window.parent.document.formname.SB_DEBTOR_COMPANY_NAME.value =
ST> companyname.value;

ST> fails because the variable value is not being interpreted, the
error
ST> is:

ST> 'window.parent.document.formname.SB_DEBTOR_COMPANY_NAME.value  is
null
ST> ot not a value'.

ST> The variable "formname" is not being interpreted as containing the
ST> value SBMT21_C..

ST> Whats the go? How do i get around it?

ST> Thanks,

ST> Scott Thornton, Programmer
ST> Application Development
ST> Information Services and Telecommunications
ST> Hunter Area Health Service
ST> Phone  +61 2 49214193
ST> Fax       +61 2 49214191

ST> [EMAIL PROTECTED] 

ST> ---
ST> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
ST> To unsubscribe send a blank email to
[EMAIL PROTECTED] 
ST> Aussie Macromedia Developers: http://lists.daemon.com.au/ 


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 
Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to