Closed
Bug 225254
Opened 23 years ago
Closed 21 years ago
Can't access form fields using field name + array notation in Java Script
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
EXPIRED
People
(Reporter: camilo, Unassigned)
Details
Attachments
(1 file)
|
ejemplo.html, a test webpage, and scriptEvolucion.jsp, a java script source page ilustrating the bug
10.00 KB,
application/x-tar
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016
We have a JavaScript Function that when you select an option from a radio
button, it checks a group of Checkbox, with the same name and different id .
It works in mozilla 1.0, 1.2, 1.4 but in Mozilla / ThunderBird, it doesn't
work, but if you save the file on disk (it generated by a jsp-tomcat), it works
perfectly
Reproducible: Always
Steps to Reproduce:
1. Enter the page
2. Check the option "todo"
3. It says forma.optionesAEnviar[0] has no properties
4. Select File -> save as (save with any name you want)
5. Open the saved file, and it works
Actual Results:
It works, even that it's the same script that fail when executed on the server
Expected Results:
Work both times without a problem
Comment 1•23 years ago
|
||
Camilo: please attach a reduced testcase via the "Create a New Attachment"
link above. We won't be able to analyze this without seeing what it is.
Reassigning to Browser General for now; this isn't a JS Engine issue -
Assignee: general → general
Component: JavaScript Engine → Browser-General
QA Contact: PhilSchwartau → general
This atachment ilustrates the issue trying to access a form's input field using
the field's name and array notation. we have included some previous alerts so
we can see the values that arrive at the javaScript function. It always stops
with the following JS error:
Error: forma.opcionesAEnviar[0] has no properties
Source File: http://www.princetonsa.com/javascripterror/scriptEvolucion.jsp
Line: 8
We have simulated the bug on the submitted files and URL, it does not work
locally either, and we have changed the name to address what we believe is the
core of this issue
Summary: Certain JavaScript only works when saved locally → Can't access form fields using field name + array notation in Java Script
Updated•23 years ago
|
Attachment #135803 -
Attachment mime type: application/octet-stream → application/x-gzip
Updated•23 years ago
|
Attachment #135803 -
Attachment mime type: application/x-gzip → application/x-tar
Comment 4•23 years ago
|
||
That testcase worksforme with linux trunk build 2003-11-10-05...
Updated•21 years ago
|
Product: Browser → Seamonkey
Comment 5•21 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 6•21 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•