View Full Version : html form login to imail help
duggins
01-20-2004, 05:32 PM
i need to add a drop down box with different domain names to login to different imail servers, but how i can get the drop down box to change the post method.. or should i be leaning toward a php answer.
zoobie
01-21-2004, 11:53 AM
I do believe that's a javascript question :D
duggins
01-21-2004, 02:40 PM
know of any premade type solution i can modify and work from?
duggins
01-22-2004, 03:37 AM
something isn't right
<HTML>
<HEAD>
<TITLE>Mail Sys Login</TITLE>
<META NAME="GENERATOR" Content="Microsoft Visual Studio">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Alex Tu <boudha1@hotmail.com> -->
<!-- Web Site: http://www.geocities.com/alex_2106 -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.page.userid.passwd.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
</HEAD>
<BODY>
<center>
<form name="form">
<br><br>
EMAIL ADDRESS<br>
<INPUT type=hidden value=login name=page>
<INPUT style="FONT-SIZE: 10px" size=15 name=userid>
<br><br>
PASSWORD<br>
<INPUT style="FONT-SIZE: 10px" type=password size=15 value="" name=passwd>
<br><br>
<select name="site" size=1 ID=Select2>
<option value="">Go to....
<option value="http://mail.crystalauto.com:80/login.cgi">Casair Mail
<option value="http://mail.bearnet.net:80/login.cgi">Bearnet Mail
</select>
<br><br>
<input type=button value="Login" onClick="javascript:formHandler(this)">
</form>
</center>
</BODY>
</HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.