Hi guys,
I have 2 yahoo mail accounts so it is a hassle to retype in the login and password.
I tried to develop a script that let me fill in the login and password upon the push of a button. I am just trying the ‘login name’ field for a start but for some reason I couldn’t get it to work!
If it does work it will be so convenient for people who has multiple yahoo accounts.
What I basically did was having the push button on the left frame([COLOR=orangered]leftframe.html[COLOR=deeppink]
The form name on the Yahoo mail site is [COLOR=blue]login_form[COLOR=green]login
I don’t know why it doesn’t work!!!!
<html>
<head>
<script language=”JavaScript”>
function passText(str) {
top.frames[‘right’].document.[COLOR=blue]login_form[COLOR=green]login
}
</script>
</head>
<frameset cols=”300,*” frameborder=1>
<frame name=”left” src=”[COLOR=orangered]leftframe.html
<frame name=”right” src=”[COLOR=deeppink]
</frameset><noframes></noframes>
</form>
</body>
<html>
<body>
<center>
<form name=myform>
Enter Your Name:<br>
<input type=text name=user size=10 value=””>
<input type=button value=”Ok!” onClick=”parent.passText(this.form.user.value);”>
</form>
</center>
</body>