Closed
Bug 162662
Opened 24 years ago
Closed 24 years ago
JavaScript ChangeValueGROUP does not work
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: tobias-mailings, Assigned: jst)
References
(
URL
)
Details
Hello all,
I have an internal web page (so no access for you, sorry), where some script is
not working (but it does on IE). It lets you choose some values out of a
drop-down list and the value you selected will be put into a HTML form field. We
can select the value, but it will not be put in the specific form field. Script
is working with IE and Opera, but not with Mozilla Mozilla 1.1b
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721.
This is interesting part of it:
<script language="JavaScript">
<!--
function ChangeValueGROUP () {
formular.group_new.value = formular.group.value ;
}
//-->
</script>
Thanks,
Tobias
Comment 1•24 years ago
|
||
can you produce a testcase ?
Comment 2•24 years ago
|
||
This is by no means critical and has nothing to do with the JS engine.
I would be willing to bet money that the page has
<form name="formular">
or
<form id="formular">
and that form is being accessed as "formular" instead of "document.formular".
The former will work in IE and Opera only, the latter will work in all browsers
that support scripting usefully.
Assignee: rogerl → jst
Severity: critical → normal
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
yep, thats it. Thanks for your help!
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Minor note, but "document.formular" will not work in all browsers that support
scripting, the correct DOM 0 reference and succesful for all browsers that have
any form capability would be document.forms['formular'] or
document.forms.formula.
You need to log in
before you can comment on or make changes to this bug.
Description
•