Solved

Access the submit button remotly

Posted on 2008-06-25
3
218 Views
Last Modified: 2013-12-12
Hey I have hosting with brinkster.com and a website set up,  I have 50 email addresses and I want to make them able to log in on my website rather than navigate to brinkster.com.  So i am trying to fill in the form on the brinkster email log in page using post.  

https://newwebmail.brinkster.com/h/login   this is the login page.

I can fill in the username and password parts easy enough:

<input name="username" value="Username" type="text"><br>
  <input name="password" value="Password" type="text"><br>
  <input name="Submit" value="Submit" type="submit"><br>


However I can not get the Submit button to press to skip this page and take the person on into their inbox.  Im pretty new to Web development so maybe its something easy!
0
Comment
Question by:TDC_LuCiFeR
3 Comments
 
LVL 5

Accepted Solution

by:
mms_master earned 250 total points
ID: 21864756
Hi,

Try the form I have attahced below.

mms_master
<form method='post' name="loginForm" action="https://newwebmail.brinkster.com/h/login">

<input type="hidden" name="loginOp" value="login"/>

Username: <input class='zLoginField' name='username' type='text' value='' /><br />

Password: <input class='zLoginField' name='password' type='password' value=""/><br />

Remember me: <input value="1" type=checkbox name='zrememberme' /><br />

<input type=submit class='zLoginButton' value="Log In"/>

</form>

Open in new window

0
 
LVL 17

Expert Comment

by:nplib
ID: 21867503
if you want the submit button to be "Pressed" automatically when the page loads

<head>
<script language="javascript">
    window.onload = function() {
         document.getElementById('myform').submit();
    }
</script>
</head>
<body>
<form name="myform" id="myform" method="post" action="somepage.php">
<input name="username" value="Username" type="text"><br>
  <input name="password" value="Password" type="text"><br>
  <input name="Submit" value="Submit" type="submit"><br>
</form>
0
 
LVL 3

Author Closing Comment

by:TDC_LuCiFeR
ID: 31470510
Excellent, cheers mate :D
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now