Files in a directory

Results 1 to 3 of 3

Thread: Files in a directory

  1. #1
    Corin Guest

    Default Files in a directory

    I created a script to show files in a directory, and give the user the ability to delete them. What I&#039d like is a warning box asking if they are sure they want to delete the file.<BR><BR>Any help is appreciated

  2. #2
    Join Date
    Dec 1969

    Default confirming user request...

    You should do the warning box in JavaScript. Just use a "confirm" call from JS code before allowing the form to post.<BR><BR>Something like:<BR><BR>&#060;FORM ... onSubmit="return confirm(&#039Are you sure you really want to delete this file?&#039);"&#062;<BR><BR>

  3. #3
    Corin Guest

    Default Thanks Bill <EOF>


Posting Permissions

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