Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Leckee #1
Creating client-side dynamic dependent list boxes in ASP
I am trying to link two list boxes on a page using client side java. I am
using Macromedia's Tech Note on this issue but still cannot get it to
work...",0);
}
oList.selectedIndex = 0;
}
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
</head>
<body onLoad="MM_callJS('setDynaList(arrDL1)')">
<form name="form1" method="post" action="">
<p>
<select name="selList1" id="selList1"
onChange="MM_callJS('setDynaList(arrDL1)')">
<%
while (!EmpLookUp.EOF) {
%>
<option value="<%=(EmpLookUp.Fields.Item("ID").Value)%>"
<%=((EmpLookUp.Fields.Item("ID").Value == 15018)?"SELECTED":"")%><%><%=(EmpLookUp.Fields.Item("ProviderName").Value)% ></option>
EmpLookUp.MoveNext();
}
if (EmpLookUp.CursorType > 0) {
if (!EmpLookUp.BOF) EmpLookUp.MoveFirst();
} else {
EmpLookUp.Requery();
}
%>
</select>
</p>
<p>
<select name="selList2" id="selList2">
<%
for (varLoopCounter = 1; varLoopCounter <= varMaxLength; varLoopCounter++){
%>
<option value = "<%=varMaxWidth%>"><%=varMaxWidth%></option>
<%
}
%>
</select>
</p>
</form>
</body>
</html>
<%
EmpLookUp.Close();
%>
<%
ConLookUp.Close();
%>
Leckee Guest
-
Dynamic generation of list boxes based on user input
This topic is similar to my last topic, but is slightly different. Again, I'm using session variables and a form wizard that takes the user... -
Client side dynamic graphing problem
I am familiar with application programming, but only started web-programming a month ago. I want to have a graph on a webpage that the client can... -
Creating dynamic Text boxes in VB .Net
Hi All :-) (I've posted at dotnet.languates.vb.controls, but not received any response since 11/5 - sorry for the doble-post, but I really could use... -
Client-side dependent menus
Hi all, I'm trying to use a menu system in a form where the second menu is populated depending on what is chosen in the first (without returning... -
A selection changes on asp page with 6 dependent list boxes, when back
Hello I have 6 dependent list boxes on my ASP page: Faculty; Lecturer; Course; Course occurrence; Group; Week commencing date.... -
Anthony Brown #2
Re: Creating client-side dynamic dependent list boxes in ASP
use my extension.
[url]http://www.kermy.com[/url]
"Leckee" <webforumsuser@macromedia.com> wrote in message
news:cvvm1n$6d$1@forums.macromedia.com...>I am trying to link two list boxes on a page using client side java. I am
> using Macromedia's Tech Note on this issue but still cannot get it to
> work...",0);
> }
>
> oList.selectedIndex = 0;
> }
>
> function MM_callJS(jsStr) { //v2.0
> return eval(jsStr)
> }
> //-->
> </script>
>
>
> </head>
>
> <body onLoad="MM_callJS('setDynaList(arrDL1)')">
> <form name="form1" method="post" action="">
> <p>
> <select name="selList1" id="selList1"
> onChange="MM_callJS('setDynaList(arrDL1)')">
> <%
> while (!EmpLookUp.EOF) {
> %>
> <option value="<%=(EmpLookUp.Fields.Item("ID").Value)%>"
> <%=((EmpLookUp.Fields.Item("ID").Value == 15018)?"SELECTED":"")%>> <%>><%=(EmpLookUp.Fields.Item("ProviderName").Value) %></option>
> EmpLookUp.MoveNext();
> }
> if (EmpLookUp.CursorType > 0) {
> if (!EmpLookUp.BOF) EmpLookUp.MoveFirst();
> } else {
> EmpLookUp.Requery();
> }
> %>
> </select>
> </p>
> <p>
> <select name="selList2" id="selList2">
> <%
> for (varLoopCounter = 1; varLoopCounter <= varMaxLength;
> varLoopCounter++){
> %>
> <option value = "<%=varMaxWidth%>"><%=varMaxWidth%></option>
> <%
> }
> %>
> </select>
> </p>
> </form>
> </body>
> </html>
> <%
> EmpLookUp.Close();
> %>
> <%
> ConLookUp.Close();
> %>
>
>
Anthony Brown Guest
-
Nazgyl #3
Creating client-side dynamic dependent list boxes in ASP
i have been using this technote from macromedia for ages and it works
perfectly...
[url]http://www.macromedia.com/go/tn_19117[/url]
however .. now i am introuble :(
Access / dmx04 / asp vb
in the application im developing, there is an endless parent / childs nods
the child might be also a parent for another child . .. etc
i'm wondering how can i create an unlimited dynamic drop down menus?
please help :(
Nazgyl Guest



Reply With Quote

