javascript: why doesn't this work???
does anybody have an idea why this stuff is not working? :confused:
I get an 'permission denied' in IE 6
Thanks
T1.ASP
HTML Code:
<html>
<head>
</head>
<body>
<form name=form1>
<input type=button onclick="window.open('t2.asp');">
<input type=text name=txtTest value="kl">
</form>
</body>
</html>
T2.ASP
HTML Code:
<html>
<head>
<script>
function fy()
{
window.opener.form1.txtTest.value=';;;';
}
</Script>
</head>
<body>
<input type=button onclick="fy();">
</body>
</html>
Re: javascript: why doesn't this work???
I just copy/pasted your code and it worked for me. The only difference is that I changed the extensions to .html. I can't run an ASP page here at work.