Closed Bug 250166 Opened 22 years ago Closed 12 years ago

satyam.com - Java Script form action is not functioning for redirect

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Masilamony_Rajavinayakam, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 On clicking "ok" button of the page the following function is called. This function is working well in IE but it is not working in Firefox 0.9.1 <SCRIPT Language="JavaScript"> function OK() { if ("tsmsnjp.satyam.com" == "tsmshts.satyam.com") { frmUser.action = "https://tsmshts.satyam.com/ValidateLogin.asp?nvar=r717?57:A" frmUser.submit(); } else { if("OFF" == "OFF") { frmUser.action = "http://tsmshts.satyam.com/ValidateLogin.asp?nvar=r717?57:A" frmUser.submit(); } else { frmUser.action = "https://tsmshts.satyam.com/ValidateLogin.asp?nvar=r717?57:A" frmUser.submit(); } } return true; } ===== HTML CODE <input type="button" name="ok" value=" Ok " class=BodyBtn1 onClick="OK()"> === Reproducible: Always Steps to Reproduce: 1.Since it is a intranet site u cant access it without username/password. 2.Try simulating the same situation and test 3. Actual Results: not redirecting to another page Expected Results: on clicking a for button should be redirected to another site mentioned in the script
could you give some more details about your html code? like, how does the <form> look like? also, not a js engine issue, -> dom:html
Assignee: general → general
Component: JavaScript Engine → DOM: HTML
QA Contact: pschwartau → ian
The code works fine with "document.frmUsr". I believe this is a user coding error, not a bug.
Yet another stinking IE-pollutes-the-window-scope-with-names-and-ids evangelism bug. Cc'ing bclary and jst. /be
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: DOM: HTML → English US
Ever confirmed: true
Product: Browser → Tech Evangelism
Version: Trunk → unspecified
Summary: Java Script form action is not functioning for redirect → satyam.com - Java Script form action is not functioning for redirect
Assignee: nobody → english-us
QA Contact: ian → english-us
Site no longer exists and redirects to http://www.techmahindra.com. Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.