Closed Bug 170881 Opened 22 years ago Closed 22 years ago

This script doesn't seem to work

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 138957

People

(Reporter: dennisernst, Assigned: alexsavulov)

References

()

Details

This script from the Veritas jobs site works fine under Netscape 6.2.  I tried
this in 1.1b and again in build 2002091014, both failed.  Don't know enough to
investigate further.

Ernie/NE6D
Dennis, what are the exact steps to reproduce?  You load the page, then what?
Confirming bug with Mozilla trunk binary 20020924xx on WinNT

STEPS TO REPRODUCE
1. Load the site
2. Select location "AL - Birmingham"
3. Select job function "Administration"
4. Click the little "Submit" button
5. In IE6, the page now displays the results of the query
6. In Moz, the page simply reloads 
7. Note, in fact, that the select boxes now show the default selections again
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reassigning to Form Submission. I don't know if the site's HTML
is valid from a form submission point of view -

<form name="frm" method="POST" onsubmit ="return ValidateForm();" action 
="/jobs/listing/SearchResultsListing.jhtml?_DARGS=%2Fjobs%2Fsearch%2FJobSearch.j
html">

which contains

<input class=box  type="image" value="submit"  
src="/images/pro/tool_submit_button.gif" width="47" height="19" border="0" 
alt="Submit" name="/veritas/jobs/JobsSearchFormHandler.submit">


Note the ValidateForm() function above, on the onsubmit handler
of the form |frm|, itself calls |frm.submit()|: 


function ValidateForm()
{
       etc.
       etc.

  if(!CountryChecked())
    return (false);

  //document.frm.action ="/jobs/listing/SearchResultsListing.jhtml";
  document.frm.submit();
}
Assignee: rogerl → alexsavulov
Component: JavaScript Engine → Form Submission
QA Contact: pschwartau → vladimire
heh! i just had two other bugs that are describing problem with servers that
cannot handle form data postings if there is an image input with name and value.
(bug 170370) this one is pretty much the same testcase. if the server is an IIS
5.0 then it could be the same problem.
This is dupe of "Submit name/value pairs for submit buttons that triggered
javascript submission"



*** This bug has been marked as a duplicate of 138957 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Yup.
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.