473,806 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deleting info using checkbox in javascript

ed
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.
Jul 20 '05 #1
2 2562


ed wrote:

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.

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.
Jul 20 '05 #2


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!
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2133
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to construct a checkbox array in a survey form where one of the choices is "No Preference" which is checked by default. If the victim chooses other than "No Preference", I'd like to uncheck
1
2110
by: Eddie Tan | last post by:
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. *** Sent via Developersdex http://www.developersdex.com *** Don't just...
0
3723
by: Chris Fink | last post by:
My goal is to have an ASP.NET checkbox server tag with it's autopostback set to true, that when clicked will run the checkbox's CheckedChanged event. However, I would like to try to add a javascript confirm popup to this checkbox server control to prevent this event from firing if the cancel button is checked in the js confirm window. In the example below, I am able to accomplish this using the input type=checkbox but without the...
7
1682
by: FP | last post by:
This should be simple but I just can't seem to figure it out. I have a form with 2 checkboxes in it. Clicking either checkbox runs a js function which opens a new window. The form targets that new window. How can I pass a hidden value letting the new window know which checkbox was clicked? Below is the code I'm currently using: function JSCheckbox(WhichForm) { window.open('', "CheckboxWindow", 'height=1,width=1');
3
2992
by: noballack | last post by:
I've got a problem, I'm working with Ajax in a web with a form with a list of checkbox added to the form via an Ajax.Updater method. These added checkboxs are not been sended by the form if I use Firefox or Safari. My source code is something like that: <script type="text/javascript" src="http://www.my_web_page.com//js/prototype-1.4.0.js"></script> <script> function showMoreOptions( url, pars, div_id ){ if...
4
11485
by: arizal | last post by:
Hi , I am trying to figure out why my PHP code to delete multiple value by selecting the checkbox is not working. My php code is listed as below <?php $sql = "Select * from list;"; $result=mysql_query($sql) or die ("<br> Could not Retrieve Data <br>"); $num_rows=mysql_num_rows($result); While ($row =mysql_fetch_array($rs))
4
1301
by: ITCraze | last post by:
Hello everyone, I have a Gridview , whose first column is template colums which contains checkboxes , outside my GridView I a have a delete button. So in this application,when the user check any checkbox ,and when click on the delete button , it should ask for the confirmation 'Are you sure you want to delete these records'. But you Know my problem is that: I have added the following line to page_load event:
7
3465
by: afaheem | last post by:
I am trying to create checkbox dynamically and am appending it into a div. The problem comes when I try to delete selected checkbox. There seem to be some problem which I am not able to figure out. The loop doesnt go properly...any suggestions on what's going wrong ? It's urgent !! Here's my code: <html> <head> <base/> <link rel="stylesheet" type="text/css" href="includes/css/vzsmb_popup_2008.css" />
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10623
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5683
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.