Closed Bug 228073 Opened 21 years ago Closed 20 years ago

paygo-rogers.com - Bad JS prevents login

Categories

(Tech Evangelism Graveyard :: English Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: petercanada, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

At https://www.paygo-rogers.com/spe/jsp/index.jsp?NeedLanguage=false the login
in button on the left hand side fails to do anything. Corrective action is
requested as soon as possible. Or let me know if it's not a Browser bug.

Reproducible: Always

Steps to Reproduce:
1.Got to link
2.You can enter a phone number if you have
3.Or just click the login button and it won't do anything.

Actual Results:  
Nothing.... that's the problem. it works in IE under windows but not in mozilla
under linux or windows.

Expected Results:  
Accessed the link.
--> Browser-General


This might be an issue with the site's Javascript, there's an error in the JS
console: "document.divLogin has no properties". Someone who knows JavaScript
better than me should probably take a look at the following code: 


The html code:

<div id="divLogin" ... >
<table ... >
<form method="POST" name="fLogin" action="Login.jsp" >
<input type="hidden" name="hdnAction" value="">

And the in the JS file https://www.paygo-rogers.com/spe/JavaScript/LoginUI.js:


function setFormAction_Submit(path, targetframe, haction) 
{
	var form;
	
	if(document.all) //IE
		form = fLogin;
	else //netscape
		form = document.divLogin.document.fLogin;
	form.action = path;
	form.target = targetframe;
	form.hdnAction.value = haction;
	form.submit();
}



Tech evang?
Component: Java APIs to WebShell → Browser-General
Assignee: joe.chou → general
QA Contact: avm → general
Stefan is right. document.divlogin is not valid. I'm not a DOM expert but these
are a few ways to access fLogin: document.forms.fLogin , document.fLogin,
document.forms[0]  (If it is the first form).

TE
This bug still exists in Mozilla 1.6
OS: Linux → All
Peter, this is not a browser issue (see comment #2). Reassingning to TE and
confirming.
Assignee: general → english-other
Status: UNCONFIRMED → NEW
Component: Browser-General → English Other
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: general → english-other
Hardware: PC → All
Summary: Login button on left hand fails to work. This bug also appears in the Windows Version as well! → paygo-rogers.com - Bad JS prevents login
Version: Trunk → unspecified
WFM
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.