If the file does not exists ??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gianni

    If the file does not exists ??

    <INPUT id = "bot1" TYPE="button" name="text1" value="" size="40"
    onClick="locati on.href= valore12" >

    the onclick is opening a file.
    How can I tell javascript a message has to be seen if if there is not
    that file in the specified directory
    Thanks
  • Gianni

    #2
    Re: If the file does not exists ??

    pincopallo_it@y ahoo.it (Gianni) wrote in message news:<3c03ef0c. 0407220656.4d18 5fd1@posting.go ogle.com>...[color=blue]
    > <INPUT id = "bot1" TYPE="button" name="text1" value="" size="40"
    > onClick="locati on.href= valore12" >
    >
    > the onclick is opening a file.
    > How can I tell javascript a message has to be seen if if there is not
    > that file in the specified directory
    > Thanks[/color]

    I was not clear in the previous post.
    With that onclick I have to link to another page. If there is not the page I get
    the page "The page cannot be found " .
    How can I end the program with a nice alert??
    Thanks

    Comment

    • kaeli

      #3
      Re: If the file does not exists ??

      In article <3c03ef0c.04072 30533.506b5c3c@ posting.google. com>,
      pincopallo_it@y ahoo.it enlightened us with...
      [color=blue]
      > I was not clear in the previous post.
      > With that onclick I have to link to another page. If there is not the page I get
      > the page "The page cannot be found " .
      > How can I end the program with a nice alert??
      > Thanks
      >[/color]


      I have not seen a solution to this problem with client-side javascript in a
      cross-browser internet environment.


      --
      --
      ~kaeli~
      Press any key...NO, NO, NO, NOT THAT ONE!!!!!!



      Comment

      Working...