Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-21-2007, 09:31 PM   PM User | #1
davefederici
New to the CF scene

 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
davefederici is an unknown quantity at this point
how can I check a checkbox with a database results

Hi, I looking for a script that will check or uncheck checkbox
I have a web base form that displays an database results
from a query, for every row there is a checkbox that the value
= the id field of a table that being queryed when a user checks a box the id value gets written into the database
so I know the checkbox was selected. Now when the user
selects the same form it does a database results to create
the form so how can I show that checkbox now checked I have the id value I just dont know how to check a box by a
script. Please help
Thanks
Dave
davefederici is offline   Reply With Quote
Old 02-22-2007, 09:05 PM   PM User | #2
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
What's the server-side language you are using? You should do the checking/unchecking on the server-side and not client-side since you want the checkbox state to show on load of the page. Can you show some related codes?
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:36 PM.


Advertisement
Log in to turn off these ads.