🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #47

Re: Please tell my why this won't work.

#47
From: Danny Goodman
Date: Thu, 08 Aug 1996 00:00
15 lines
1795 bytes
Aaron Peterson wrote:
> <select name="test1">
>         <option selected value="ALPine">ALPine
>         <option value="INCOR">INCOR
> </select>
> <input type="button" name="button1" value="GOTO"
> onClick="test1(this.form)">

Avoid assigning the same names to objects and functions.  I have seen
that confuse JavaScript from time to time.

Danny
"Danny Goodman's JavaScript Handbook"
http://www.dannyg.com
Technical Details
Message-ID: <320AC3FE.7D8D@dannyg.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4u7o8p$9j5@amber.ora.com> <320A3B5D.62DF@mail.prostar.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7cbd,a6f41a01eab140ed
X-Google-Attributes: gidf7cbd,public
X-Google-Thread: fb3cb,a6f41a01eab140ed
X-Google-Attributes: gidfb3cb,public
X-Google-Thread: 10d861,a6f41a01eab140ed
X-Google-Attributes: gid10d861,public
X-Google-Thread: f5d71,a6f41a01eab140ed
X-Google-Attributes: gidf5d71,public
X-Google-Thread: fd796,a6f41a01eab140ed
X-Google-Attributes: gidfd796,public
X-Google-Thread: 143f9e,a6f41a01eab140ed
X-Google-Attributes: gid143f9e,public
X-Google-Thread: 10aaab,a6f41a01eab140ed
X-Google-Attributes: gid10aaab,public
X-Google-Thread: 109f69,a6f41a01eab140ed
X-Google-Attributes: gid109f69,public
From: Danny Goodman <dannyg@dannyg.com>
Subject: Re: Please tell my why this won't work.
Date: 1996/08/08
Message-ID: <320AC3FE.7D8D@dannyg.com>
X-Deja-AN: 173062652
references: <4u7o8p$9j5@amber.ora.com> <320A3B5D.62DF@mail.prostar.com>
content-type: text/plain; charset=us-ascii
organization: Best Internet Communications
mime-version: 1.0
newsgroups: comp.lang.javascript,comp.lang.java.programmer.announce,comp.lang.java,alt.www.hotjava,biz.books.technical,misc.books.technical,alt.books.technical,comp.infosystems.www.authoring.cgi,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.misc,comp.infosystems.www.misc
x-mailer: Mozilla 3.0b6 (Macintosh; I; 68K)