Click here to Skip to main content
15,909,953 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Simple table question coding in HTML Pin
Guffa29-Mar-06 7:02
Guffa29-Mar-06 7:02 
QuestionRe: Simple table question coding in HTML Pin
Scott Harper29-Mar-06 9:24
Scott Harper29-Mar-06 9:24 
AnswerRe: Simple table question coding in HTML Pin
Guffa29-Mar-06 11:32
Guffa29-Mar-06 11:32 
Questionhelp needed!!... Pin
zybernau28-Mar-06 6:15
zybernau28-Mar-06 6:15 
AnswerRe: help needed!!... Pin
CWIZO28-Mar-06 8:54
CWIZO28-Mar-06 8:54 
QuestionRegular Expression Troubles Pin
Brendan Vogt28-Mar-06 3:23
Brendan Vogt28-Mar-06 3:23 
QuestionPassing an integer argument into a javascript function Pin
KaKa'27-Mar-06 21:01
KaKa'27-Mar-06 21:01 
AnswerRe: Passing an integer argument into a javascript function Pin
Guffa27-Mar-06 22:07
Guffa27-Mar-06 22:07 
Please don't cross post.

---

You are mixing server side code with client side code. That doesn't work.

Consider these two rules:

1. The server side code and the client side code never exist in the same place.
2. The server side code and the client side code never exist at the same time.

The variable that you created in the server code only exists on the server. When the Javascript code runs in the browser it can't access anything on the server, and even if it could, the variable doesn't even exist any more.

You have to put the value of the variable into the Javascript code, just like you put the value of ClientID in the code.

---
b { font-weight: normal; }


-- modified at 4:24 Tuesday 28th March, 2006
GeneralRe: Passing an integer argument into a javascript function Pin
KaKa'28-Mar-06 14:18
KaKa'28-Mar-06 14:18 
AnswerRe: Passing an integer argument into a javascript function Pin
Guffa30-Mar-06 0:38
Guffa30-Mar-06 0:38 
QuestionWeb Service Pin
Illegal Operation27-Mar-06 17:57
Illegal Operation27-Mar-06 17:57 
QuestionCentering a flash object Pin
hint_5427-Mar-06 9:40
hint_5427-Mar-06 9:40 
AnswerRe: Centering a flash object Pin
-C-?-M-27-Mar-06 14:58
-C-?-M-27-Mar-06 14:58 
Questionsearching a datagrid Pin
Illegal Operation27-Mar-06 1:14
Illegal Operation27-Mar-06 1:14 
AnswerRe: searching a datagrid Pin
-C-?-M-27-Mar-06 16:41
-C-?-M-27-Mar-06 16:41 
QuestionStyling Issues Pin
Brendan Vogt26-Mar-06 23:14
Brendan Vogt26-Mar-06 23:14 
AnswerRe: Styling Issues Pin
George L. Jackson27-Mar-06 11:53
George L. Jackson27-Mar-06 11:53 
QuestionIE7 breaking your app? Pin
Sidney Chong26-Mar-06 22:53
Sidney Chong26-Mar-06 22:53 
Generalservlet vs server Pin
xilefxilef26-Mar-06 19:03
xilefxilef26-Mar-06 19:03 
GeneralRe: servlet vs server Pin
Brendan Vogt26-Mar-06 23:01
Brendan Vogt26-Mar-06 23:01 
QuestionDesign Question Pin
gmhanna26-Mar-06 9:48
gmhanna26-Mar-06 9:48 
QuestionHow can i disable viewsource in internet explorer using javascript Pin
Phanindra Kumar25-Mar-06 0:54
Phanindra Kumar25-Mar-06 0:54 
AnswerRe: How can i disable viewsource in internet explorer using javascript Pin
-C-?-M-26-Mar-06 19:24
-C-?-M-26-Mar-06 19:24 
QuestionQuestion time... Pin
HakunaMatada25-Mar-06 0:04
HakunaMatada25-Mar-06 0:04 
AnswerRe: Question time... Pin
Guffa25-Mar-06 0:30
Guffa25-Mar-06 0:30 

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.