Re: Javascript and forms

2002-11-15 Thread Michael Naumann
On Friday 15 November 2002 07:06, Try KDE wrote: > The following works on my Mozilla: ... And with opera. Thanx a lot, this did the trick. -- Michael > > function check(radio) > { > var selected = ""; > for (var i=0; i

Re: Javascript and forms

2002-11-14 Thread Try KDE
The following works on my Mozilla: function check(radio) { var selected = ""; for (var i=0; i

Re: Javascript and forms

2002-11-14 Thread Michael Naumann
On Thursday 14 November 2002 03:20, Try KDE wrote: > Your html is ill-formed. The text field should be: > input type="text" name="n1" size=20 Well, it is not n1, I had the problem with. Even if I 'correct' it, I still can't see the value of n0 (the radio-button). Anybody knows how to access t

Re: Javascript and forms

2002-11-13 Thread Try KDE
Your html is ill-formed. The text field should be: input type="text" name="n1" size=20 -tk Michael Naumann wrote: I have a small problem accessing form-vars via JavaScript. In below example, I have two vars in a form, one of type radio (n0) and a normal input-var (n1). In the JavaScript

Javascript and forms

2002-11-13 Thread Michael Naumann
I have a small problem accessing form-vars via JavaScript. In below example, I have two vars in a form, one of type radio (n0) and a normal input-var (n1). In the JavaScript Function CheckInput() I can acces the value of n0, but not of n1 . Depending on the browser, I get different results: