Results 1 to 2 of 2

Thread: javascript: why doesn't this work???

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2005
    Posts
    2

    javascript: why doesn't this work???

    does anybody have an idea why this stuff is not working?
    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>

  2. #2
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602

    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.
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width