Javascript button does not work

Asked by Chriss

I am trying to update a password on a webpage. I can enter the password into the requester box but when I click on the submit button nothing happens.
When I hover the cursor over the submit button it does change colour and the arrow pointer changes to the pointing hand but left click, right click, centre click and the enter key on the keyboard give no response with the mouse cursor over the submit button.
The status bar displays the following with the mouse cursor over the submit button... javascript:loginForm.submit();

Enable Javascript is checked in Firefox preferences and I have all updates installed.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

Does error console say something?
Cookies enabled?

Revision history for this message
Chriss (gnomelec) said :
#2

Error console says...
Error: loginForm is not defined
Source File: javascript:loginForm.submit();
Line: 1
   cookies are enabled

Revision history for this message
Sam_ (and-sam) said :
#3

> Error: loginForm is not defined

Appears to be a syntax error. Maybe just compare with a page where login works.
e.g. line:
form name="Name_of_LoginForm" method="POST" action="string"

https://developer.mozilla.org/en/JavaScript_Console

Can you help with this problem?

Provide an answer of your own, or ask Chriss for more information if necessary.

To post a message you must log in.