SunQuest
           ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old January 14th, 2004, 01:31 PM
victoria207 victoria207 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Baltimore, MD
Posts: 9 victoria207 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 52 sec
Reputation Power: 0
CheckBox Problem! please help!

I have a database driven application. It's called Production Calendar. By checking a checkbox next to a record this record needs to disappear from the page but stay in the database. How do I do that??? Please note, that the application already has a submit button, so do I need to create a separate button for that???? Please help!!! Is there another way to remove a record from a page????

Reply With Quote
  #2  
Old January 15th, 2004, 12:26 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,627 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 8 m 55 sec
Reputation Power: 53
This isn't a ColdFusion question. I think you're looking for information on DHTML layers or CSS. I don't know much about these. If someone else does feel free to answer, but otherwise you may want to ask this question in a DHTML forum.

Reply With Quote
  #3  
Old January 15th, 2004, 03:16 PM
A3M0N_ A3M0N_ is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Summervile, SC
Posts: 115 A3M0N_ User rank is Corporal (100 - 500 Reputation Level)A3M0N_ User rank is Corporal (100 - 500 Reputation Level)A3M0N_ User rank is Corporal (100 - 500 Reputation Level)A3M0N_ User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 3 h 59 m 49 sec
Reputation Power: 7
Send a message via AIM to A3M0N_ Send a message via MSN to A3M0N_ Send a message via Yahoo to A3M0N_
you could use javascript to do an onclick form submit, but i, like kiteless don't know much about that. sorry.

later

Reply With Quote
  #4  
Old January 18th, 2004, 09:35 PM
dirtybbq dirtybbq is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 53 dirtybbq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 17 m
Reputation Power: 6
You can wrap each record in a div and then use javascript to hide the div when the check box is clicked. The sample below will hide the record on the page. I don't know if you'd need the option to show it again though. That would require a more involved javascript function. The function as written below will only work with web standards browsers that support document.getElementById. You can throw a detect clause in the function to prevent errors on out of date browsers.

Code:
<script type="text/javascript" language="javascript">
function showHide(layerName) {
    document.getElementById(layerName).style.display = "none"
}
</script>

<div id="myDiv">
<p><input type="checkbox" onclick="showHide('myDiv')"> My Record</p>
</div>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > CheckBox Problem! please help!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway