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)
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
Comment 1•22 years ago
|
||
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
Comment 2•22 years ago
|
||
The code works fine with "document.frmUsr". I believe this is a user coding
error, not a bug.
Comment 3•22 years ago
|
||
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
Comment 4•22 years ago
|
||
Conforming summary to TFM item 10 at
http://www.mozilla.org/projects/tech-evangelism/site/procedures.html#file-new
Summary: Java Script form action is not functioning for redirect → satyam.com - Java Script form action is not functioning for redirect
Comment 5•12 years ago
|
||
Site no longer exists and redirects to http://www.techmahindra.com. Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•11 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•