Click here to Skip to main content
15,891,136 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Safari (Mac) + innerHTML Pin
Guffa22-Sep-07 14:43
Guffa22-Sep-07 14:43 
AnswerRe: Safari (Mac) + innerHTML Pin
kuyak200024-Sep-07 19:29
kuyak200024-Sep-07 19:29 
QuestionConvert a VB.Net app to a web app? Pin
furjaw21-Sep-07 17:58
furjaw21-Sep-07 17:58 
AnswerRe: Convert a VB.Net app to a web app? Pin
Christian Graus21-Sep-07 18:32
protectorChristian Graus21-Sep-07 18:32 
QuestionRe: Convert a VB.Net app to a web app? Pin
furjaw22-Sep-07 8:54
furjaw22-Sep-07 8:54 
AnswerRe: Convert a VB.Net app to a web app? Pin
Paddy Boyd24-Sep-07 4:33
Paddy Boyd24-Sep-07 4:33 
GeneralThe Need For Speed Pin
Bassam Abdul-Baki21-Sep-07 7:18
professionalBassam Abdul-Baki21-Sep-07 7:18 
Questionhow to pass a javascript variable into asp variable? Pin
ganeshMohan21-Sep-07 2:35
ganeshMohan21-Sep-07 2:35 
Cool | :cool: hai
i am an asp programmer.

i have two combo boxes optone and opttwo.

i have loaded values for optone from database

selected
<%
sqlPRO = "Select field1 From tablename"
set rs= conn.Execute(sqlPRO)
i=1
do while Not rs.EOF
%>
<%=rs("field1")%>
<%
i=i+1
rs.MoveNext
loop
rs.Close
%>


now i want to load a value for the second combobox opttwo
it's dependant on the first combobox optone

function setOptions(chosen)
{
var selbox = document.frm.opttwo;
selbox.options.length = 0;
selbox.options[selbox.options.length] = new Option('Select','oneone');
<%
strSQLQry = "Select field1 From tablename where ID='" & chosen & "'"

rs.Open strSQLQry, conn
rs.MoveFirst
While Not rs.EOF

%>

valFromList = "<%=rs("field1")%>";
selbox.options[selbox.options.length] = new Option(valFromList,'oneone');
<%
rs.MoveNext
Wend
rs.Close
%>

}

this code shows an error.i can't get the javascript variable into asp.

if anyone known please help me



Ganesh Mohan
AnswerRe: how to pass a javascript variable into asp variable? Pin
led mike21-Sep-07 4:38
led mike21-Sep-07 4:38 
GeneralRe: how to pass a javascript variable into asp variable? Pin
Guffa22-Sep-07 7:55
Guffa22-Sep-07 7:55 
Questionhow to auto adjust pages Pin
harryforum20-Sep-07 23:18
harryforum20-Sep-07 23:18 
AnswerRe: how to auto adjust pages Pin
Christian Graus21-Sep-07 0:35
protectorChristian Graus21-Sep-07 0:35 
AnswerRe: how to auto adjust pages Pin
saini arun21-Sep-07 4:14
saini arun21-Sep-07 4:14 
Questionjsp javascript compatibility issues in safari Pin
nicetohaveyou20-Sep-07 20:53
nicetohaveyou20-Sep-07 20:53 
AnswerRe: jsp javascript compatibility issues in safari Pin
saini arun21-Sep-07 4:20
saini arun21-Sep-07 4:20 
QuestionDouble quote error in Saving Pin
hifiger200420-Sep-07 13:03
hifiger200420-Sep-07 13:03 
AnswerRe: Double quote error in Saving Pin
Guffa20-Sep-07 22:36
Guffa20-Sep-07 22:36 
AnswerRe: Double quote error in Saving Pin
hifiger200421-Sep-07 4:59
hifiger200421-Sep-07 4:59 
AnswerRe: Double quote error in Saving Pin
Paddy Boyd21-Sep-07 4:44
Paddy Boyd21-Sep-07 4:44 
QuestionConvert date string into javascript date object in 'yyyy-MM-dd' and 'yyyy.MM.dd' formats Pin
Alagumani20-Sep-07 2:47
Alagumani20-Sep-07 2:47 
AnswerRe: Convert date string into javascript date object in 'yyyy-MM-dd' and 'yyyy.MM.dd' formats Pin
Guffa20-Sep-07 3:24
Guffa20-Sep-07 3:24 
AnswerRe: Convert date string into javascript date object in 'yyyy-MM-dd' and 'yyyy.MM.dd' formats Pin
Shog920-Sep-07 9:10
sitebuilderShog920-Sep-07 9:10 
Questionfind How Many SQL server Present in network Pin
Sachin Pimpale20-Sep-07 0:13
Sachin Pimpale20-Sep-07 0:13 
QuestionDreamwaver visualization help [modified] Pin
saadani19-Sep-07 23:05
saadani19-Sep-07 23:05 
QuestionSend mail through ASP Page.......... Pin
suveenmohan19-Sep-07 23:01
suveenmohan19-Sep-07 23:01 

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.