RE: Javascript: Tearing my hair out

2001-03-14 Thread Windle, Kevan
20:16 To: CF-Talk Subject: RE: Javascript: Tearing my hair out The actual cause is that 1 document.write(fname); -- fname exists (form name passed to function) 2 document.write(document.forms.wheres.wherefield1.name); -- does not exist. use document.wheres.wherefield1.name or document.forms[&

RE: Javascript: Tearing my hair out

2001-03-12 Thread Cameron
: [EMAIL PROTECTED] Subject: RE: Javascript: Tearing my hair out Thanks fro all the responses. And thanks Andy that explained why my testing for the problem wouldn't work and that let me look past that and try another way round it. Plus its Monday morning and everything seems so much easier. -

RE: Javascript: Tearing my hair out

2001-03-12 Thread Windle, Kevan
EMAIL PROTECTED]] Sent: 08 March 2001 17:15 To: CF-Talk Subject: RE: Javascript: Tearing my hair out Kevin I may be wrong but as soon as you execute a document.write it anhialates the page i.e. the form no longer exists. You have to use Javascript layers or frames to overcome thi

RE: Javascript: Tearing my hair out

2001-03-08 Thread James McCullough
08, 2001 9:03 AM To: CF-Talk Subject: Javascript: Tearing my hair out I'm using IE5. Trying to do something really simple in javascript. The problem I'm having is this. I can reference a form element with inline code. So passing this variable to a function like this works: then in th

RE: Re[2]: Javascript: Tearing my hair out

2001-03-08 Thread Hayes, David
2001 11:31 AM To: CF-Talk Subject: Re[2]: Javascript: Tearing my hair out Another suggestion (or is it the same???) is to create the object with an "input type=hidden" statement and a default value. Then when your page is read, the object exists for the OnSubmit function. Carol L. B

Re[2]: Javascript: Tearing my hair out

2001-03-08 Thread Carol Bluestein
PROTECTED] Reply Separator Subject:Re: Javascript: Tearing my hair out Author: [EMAIL PROTECTED] Date: 3/8/01 9:12 AM Put the script after you create the element. I had the same problem with a clock on our web page. Richard Ramos Network Adm

RE: Javascript: Tearing my hair out

2001-03-08 Thread Andy Ewings
retain this message. Please notify us on +44 (0)207 387 8890. -Original Message- From: Windle, Kevan [mailto:[EMAIL PROTECTED]] Sent: 08 March 2001 17:03 To: CF-Talk Subject: Javascript: Tearing my hair out I'm using IE5. Trying to do something really simple in javascript. The pr

Re: Javascript: Tearing my hair out

2001-03-08 Thread Richard Ramos
lk" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 9:03 AM Subject: Javascript: Tearing my hair out > I'm using IE5. Trying to do something really simple in javascript. The > problem I'm having is this. I can reference a form element with inline code. > So

Re: Javascript: Tearing my hair out

2001-03-08 Thread David E. Crawford
indle, Kevan" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 12:03 Subject: Javascript: Tearing my hair out > I'm using IE5. Trying to do something really simple in javascript. The > problem I'm having is this. I can

Javascript: Tearing my hair out

2001-03-08 Thread Windle, Kevan
I'm using IE5. Trying to do something really simple in javascript. The problem I'm having is this. I can reference a form element with inline code. So passing this variable to a function like this works: then in the function: