Click here to Skip to main content
15,889,595 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: HTML Login functionality Pin
hiral_shah11-Mar-07 23:52
hiral_shah11-Mar-07 23:52 
GeneralRe: HTML Login functionality Pin
Paddy Boyd11-Mar-07 23:52
Paddy Boyd11-Mar-07 23:52 
GeneralRe: HTML Login functionality Pin
Bradml11-Mar-07 23:18
Bradml11-Mar-07 23:18 
GeneralRe: HTML Login functionality Pin
hiral_shah11-Mar-07 23:58
hiral_shah11-Mar-07 23:58 
GeneralRe: HTML Login functionality Pin
john3412-Mar-07 3:30
john3412-Mar-07 3:30 
AnswerRe: HTML Login functionality Pin
hiral_shah12-Mar-07 0:09
hiral_shah12-Mar-07 0:09 
AnswerRe: HTML Login functionality Pin
john3412-Mar-07 0:14
john3412-Mar-07 0:14 
GeneralRe: HTML Login functionality Pin
hiral_shah12-Mar-07 0:25
hiral_shah12-Mar-07 0:25 
AnswerRe: HTML Login functionality Pin
hiral_shah12-Mar-07 2:55
hiral_shah12-Mar-07 2:55 
QuestionCalling a Javascript function from ASP page Pin
Vipin.d11-Mar-07 20:14
Vipin.d11-Mar-07 20:14 
AnswerRe: Calling a Javascript function from ASP page Pin
Bradml11-Mar-07 23:17
Bradml11-Mar-07 23:17 
QuestionLead capturing with websites Pin
Trey54989-Mar-07 14:21
Trey54989-Mar-07 14:21 
AnswerRe: Lead capturing with websites Pin
Trey549812-Mar-07 11:35
Trey549812-Mar-07 11:35 
QuestionC# Forum Pin
greenb9-Mar-07 4:28
greenb9-Mar-07 4:28 
AnswerRe: C# Forum Pin
RichardGrimmer9-Mar-07 4:33
RichardGrimmer9-Mar-07 4:33 
GeneralRe: C# Forum Pin
greenb9-Mar-07 4:40
greenb9-Mar-07 4:40 
GeneralRe: C# Forum Pin
led mike9-Mar-07 4:46
led mike9-Mar-07 4:46 
AnswerRe: C# Forum Pin
Dmitry Khudorozhkov9-Mar-07 4:34
Dmitry Khudorozhkov9-Mar-07 4:34 
GeneralRe: C# Forum Pin
greenb9-Mar-07 4:40
greenb9-Mar-07 4:40 
AnswerRe: C# Forum Pin
greenb9-Mar-07 4:38
greenb9-Mar-07 4:38 
QuestionPlease help! Pin
nclauder9-Mar-07 4:23
nclauder9-Mar-07 4: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 5:23
kubben9-Mar-07 5:23 
GeneralRe: Please help! Pin
rockx11-Mar-07 0:16
rockx11-Mar-07 0:16 
AnswerRe: Please help! Pin
Harini N K11-Mar-07 22:55
Harini N K11-Mar-07 22:55 
GeneralRe: Please help! Pin
nclauder12-Mar-07 1:39
nclauder12-Mar-07 1:39 

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.