Register a domain and help support LQ
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-16-2005, 03:48 PM   #1
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
can javascript automatically populate login fields and click button for me?

Hey, my problem is basically this:

I have simple login form. When I load up the page, I want the login and password boxes to be automatically filled with pre-decided info and the button automatically clicked? I know that Firefox can populate the inputs with it's password-memory function, but how about doing this with a SSI?


Old 02-16-2005, 03:58 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,336

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
You have submit() method for form in javascript like : document.myform.submit();

As for pre-decided infos, why not juste use the html value="" inside the input elements ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Click back browser button 1inxs LQ Suggestions & Feedback 4 10-12-2005 07:07 PM
[javascript] confirm button on php page Erhnam Programming 1 02-24-2005 01:05 PM
Scroll button click and drag down website in mozilla? lrt2003 Linux - Newbie 2 05-08-2004 10:01 PM
Command line way to click a mouse button. danielw Linux - General 6 09-02-2003 03:52 AM
Unwanted border on button click Rachel Carter Programming 1 02-11-2003 12:22 PM

All times are GMT -5. The time now is 04:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration