Forum Moderators: open

Message Too Old, No Replies

When Checked, checkbox displays test

         

twilliamsen

2:16 pm on Aug 20, 2007 (gmt 0)

10+ Year Member



I have a table of tasks
=================================
task ¦ completed ¦ completed by
=================================

The task column will be the task at hand

The completed column will be a check box

Completed by column will be a text displayed domain\username

What I would like is is when the checkbox is checked for completed it displays the domain\username of the person doing the tasks

I got the information to grab the domain\username but I cannot get the check box to display it

Any ideas? Using ASP.net 2.0 or java doesn't matter as long as it works

SteSpeak

6:45 pm on Aug 20, 2007 (gmt 0)

10+ Year Member



Hi

I'm no genius with either of these languages but I would recommend either

Javascript:
- Detect when the checkbox is checked, and when checked display a div - when unchecked, hide the div. The div can contain the code for the value.

Otherwise, I'd probably suggest AJAX to do what would of been POST without refreshing the page.

Drag_Racer

1:40 pm on Aug 21, 2007 (gmt 0)

10+ Year Member



check boxes can NOT display anything but the checkbox, you need something else next to it to handle the text, such as the suggested DIV tag.