SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: simple java

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2000
    Location
    Montreal, Canada
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi
    I have created a password link, the password part works but not the link part
    open(document.frm.pswd.value + "/" + document.frm.pswd.value +".html")
    This is the code which opens a new window to the password protected page that works but how can I get it to open in the same window, I don t want it to open in a new window. Can anyone help
    Thank you

  2. #2
    SitePoint Zealot freejavahelp's Avatar
    Join Date
    Jul 2000
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First of all, that isn't Java, its JavaScript, but I'm not going to get into that now.

    If I were you, I would try using the window.location property (its something like that, i do believe)

    You should be able to find some stuff on it in any good JavaScript tutorial

    Jim
    http://www.freejavahelp.com
    Making Java REALLY Easy
    Tutorials, Forums, and Articles


Bookmarks

Posting Permissions

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