Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 24th, 2007, 04:57 AM
Authorized User
 
Join Date: Apr 2007
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default deleting records based on selected checkbox

hi.
I'm trying to allow the user to search through records and using a checkbox, allow the user to select one or multiple records, then click a button and delete all that were selected. How to do this.? i have more than 2 button is my page.. i am not getting how to access checkbox value in other page.....

Reply With Quote
  #2 (permalink)  
Old September 3rd, 2007, 09:11 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi lakshmi!!
you are using asp/php/jsp which type of language u r using?
there r form collection through which u can easily get the values of checkbox


Cheers :)

vinod
Reply With Quote
  #3 (permalink)  
Old September 5th, 2007, 06:44 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

^^^^^ what vinod said.

You should post this on the board related to the server side technology you're using. Javascript can only handle client side logic. When your visitor types in your website, your server sends them back the HTML for the browser to display. Javascript makes everything move or change or otherwise react that requires programming on your page without contacting the server.

Deleting items from the database all happens on the server end. Once someone checks the different boxes to delete records, they click the button and that triggers a postback event which "posts" the form data back to the server. It's the server side scripting that responds to that information and deletes the database records. So the ASP/PHP or whatever boards would be the place to post depending on what server side technology you're using.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Reply With Quote
  #4 (permalink)  
Old September 6th, 2007, 02:22 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Let's try getting the terminology correct, there are far too many mistakes caused by people not understanding the boundary between server-side and client-side.
Client-side <> JavaScript, it usually is though.
Server-side maybe JavaScript along with most other languages, .NET, PHP, Java/JSP, VBScript etc.
Server-side operations cannot be carried out by client-side script; these operations maybe initiated by them though.

--

Joe (Microsoft MVP - XML)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using js to pass selected checkbox values yasinirshad .NET Framework 1.x 0 June 3rd, 2008 02:42 AM
Deleting Duplicate Records BrianWren Pro VB Databases 1 February 22nd, 2008 01:30 PM
Deleting selected row in ListBox YoungFools Excel VBA 1 April 19th, 2007 09:14 AM
Pupulating datagrid based on selected items swati_joshi ASP.NET 1.0 and 1.1 Basics 1 March 27th, 2006 04:22 PM
Page display based on radio button selected Mekala HTML Code Clinic 3 July 10th, 2004 06:12 AM



All times are GMT -4. The time now is 01:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.