Click here to Skip to main content
15,559,704 members
Home / Discussions / Web Development
   

Web Development

 
QuestionC# Forum Pin
greenb9-Mar-07 5:28
greenb9-Mar-07 5:28 
AnswerRe: C# Forum Pin
RichardGrimmer9-Mar-07 5:33
RichardGrimmer9-Mar-07 5:33 
GeneralRe: C# Forum Pin
greenb9-Mar-07 5:40
greenb9-Mar-07 5:40 
GeneralRe: C# Forum Pin
led mike9-Mar-07 5:46
led mike9-Mar-07 5:46 
AnswerRe: C# Forum Pin
Dmitry Khudorozhkov9-Mar-07 5:34
Dmitry Khudorozhkov9-Mar-07 5:34 
GeneralRe: C# Forum Pin
greenb9-Mar-07 5:40
greenb9-Mar-07 5:40 
AnswerRe: C# Forum Pin
greenb9-Mar-07 5:38
greenb9-Mar-07 5:38 
QuestionPlease help! Pin
nclauder9-Mar-07 5:23
nclauder9-Mar-07 5:23 
Hi everyone,
I'm having trouble with a datagrid that is supposed to insert data. But one row has to insert data in the data base using Radio button. So I created two buttons one of Bad Mood then the other one is Good mood. when one is selected, the data is to be inserted into the database. this is working well. But the problem comes when it comes to images, thes images are smilies. When good mood is selected I want a smiley to be inserted into the database too. So I created the smilies but when and made them invisible so I wrote this code to be able save them in the database but I'm getting two errors. Where could I be wrong?

document.getElementById("imggm").style.visibility = "hidden";
function ChangeSmile()
{
if (document.getElementById("rblmood_0"))
{
document.getElementById("imggm").style.visibility = "none";
document.getElementById("imggm").src = "laughing.gif";
}
else
{
document.getElementById("imgbm").style.visibility = "visible";
document.getElementById("imgbm").src = "sad.gif";
}
}

The errors are:

Invalid token '(' in class, struct, or interface member declaration
Invalid token '=' in class, struct, or interface member declaration
(This error appears on the line: document.getElementById("imggm").style.visibility = "hidden";)

Thanks.

AnswerRe: Please help! Pin
kubben9-Mar-07 6:23
kubben9-Mar-07 6:23 
GeneralRe: Please help! Pin
rockx11-Mar-07 1:16
rockx11-Mar-07 1:16 
AnswerRe: Please help! Pin
Harini N K11-Mar-07 23:55
Harini N K11-Mar-07 23:55 
GeneralRe: Please help! Pin
nclauder12-Mar-07 2:39
nclauder12-Mar-07 2:39 
QuestionHow to convert DRM protected audio files to unprotected audio files Pin
Balakrish9-Mar-07 2:55
Balakrish9-Mar-07 2:55 
AnswerRe: How to convert DRM protected audio files to unprotected audio files Pin
Paddy Boyd9-Mar-07 4:03
Paddy Boyd9-Mar-07 4:03 
GeneralRe: How to convert DRM protected audio files to unprotected audio files Pin
badgrs9-Mar-07 6:06
badgrs9-Mar-07 6:06 
GeneralRe: How to convert DRM protected audio files to unprotected audio files Pin
Paddy Boyd9-Mar-07 6:52
Paddy Boyd9-Mar-07 6:52 
GeneralRe: How to convert DRM protected audio files to unprotected audio files Pin
Bradml9-Mar-07 15:19
Bradml9-Mar-07 15:19 
AnswerRe: How to convert DRM protected audio files to unprotected audio files Pin
Bradml9-Mar-07 15:20
Bradml9-Mar-07 15:20 
GeneralRe: How to convert DRM protected audio files to unprotected audio files Pin
Balakrish9-Mar-07 19:12
Balakrish9-Mar-07 19:12 
GeneralRe: How to convert DRM protected audio files to unprotected audio files Pin
Bradml10-Mar-07 1:36
Bradml10-Mar-07 1:36 
QuestionHow do I show an image? Pin
Rajesh R Subramanian9-Mar-07 2:34
professionalRajesh R Subramanian9-Mar-07 2:34 
AnswerRe: How do I show an image? Pin
Dmitry Khudorozhkov9-Mar-07 5:16
Dmitry Khudorozhkov9-Mar-07 5:16 
GeneralRe: How do I show an image? Pin
Rajesh R Subramanian9-Mar-07 5:17
professionalRajesh R Subramanian9-Mar-07 5:17 
GeneralRe: How do I show an image? Pin
rockx10-Mar-07 22:41
rockx10-Mar-07 22:41 
AnswerRe: How do I show an image? Pin
Bradml9-Mar-07 15:21
Bradml9-Mar-07 15:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.