Connecting Tech Pros Worldwide Forums | Help | Site Map

Deleting info using checkbox in javascript

ed
Guest
 
Posts: n/a
#1: Jul 20 '05
Hi everyone hope you guys can help me out on this. I'm working on an
upload page where it has the file name, file size, and type of the
file that is uploaded. I want to add a checkbox next to each of the
uploaded file where i can delete the uploaded file if it is checked.
Does anyone have an idea of how to do this? Any help on this would be
appreciated. Thanks.

Ben Dover - Mental Patient 0057
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Deleting info using checkbox in javascript




ed wrote:[color=blue]
>
> Hi everyone hope you guys can help me out on this. I'm working on an
> upload page where it has the file name, file size, and type of the
> file that is uploaded. I want to add a checkbox next to each of the
> uploaded file where i can delete the uploaded file if it is checked.
> Does anyone have an idea of how to do this? Any help on this would be
> appreciated. Thanks.[/color]


That would not be javascript.

you will need a CGI to do that. (or ASP, PHP, etc, you know the drill.)

I would have perl CGI look at a directory and generate a plain HTML for
users web browser.
user submits the HTML.
the perl script would take the parsed form that the user submitted and
delete the files.

please look at:
perl
perl CGI
perl command unlink (delete files)
perl newsgroups

or PHP and ASP newsgroups.
Eddie Tan
Guest
 
Posts: n/a
#3: Jul 20 '05

re: Deleting info using checkbox in javascript




So do you have an example of doing this using perl CGI?
Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Closed Thread


Similar JavaScript / Ajax / DHTML bytes