•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 422,386 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,733 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 620 | Replies: 0
![]() |
| |
•
•
Join Date: Apr 2008
Posts: 13
Reputation:
Rep Power: 1
Solved Threads: 0
Hi
I have a collection in VbScript (on an asp page) named coll
The UI of the ASP page has dropdown thats is to be populated based on the iteration I do in the collection "coll"
I iterate it based on it s count...but How to I add each of its item into the dropdown??
adding it to dropdown is to be done in javascript(it is not client side)...
so can anyone tell me how do I get each item of the "coll" collection & add it to the dropdwn?
i tried something like this....
This gives me error at red line
can anyone tell me how to resolve this?..pls
I have a collection in VbScript (on an asp page) named coll
The UI of the ASP page has dropdown thats is to be populated based on the iteration I do in the collection "coll"
I iterate it based on it s count...but How to I add each of its item into the dropdown??
adding it to dropdown is to be done in javascript(it is not client side)...
so can anyone tell me how do I get each item of the "coll" collection & add it to the dropdwn?
i tried something like this....
<%
dim objGetComm
dim coll
dim itemcomm
set objGetComm=server.CreateObject("GetComm3.GetComm3Mod") 'object of GetComm3.dll
set coll=server.CreateObject("scripting.dictionary")
set coll=objGetComm.GetComm3Mod 'calling the specific function of the dll
for i=0 to coll.Count -1
set coll.Item=itemcomm
%>
<script language=javascript>
document.Frm1eRoom.cboComm.add(<%=itemcomm%>)
</script>
<%next%>This gives me error at red line
can anyone tell me how to resolve this?..pls
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Programming FAQ - Updated 1/March/2005 (Computer Science and Software Design)
- JavaScript Newbie (JavaScript / DHTML / AJAX)
- How to grab a page? (PHP)
- Javascript Video Control Resources (JavaScript / DHTML / AJAX)
- Flash Developer, New York, NY (Web Development Job Offers)
- Senior Interactive Developer, New York, NY (1 F/T and 1 Contract) (Software Development Job Offers)
- Adding media and videos using VBScript (Visual Basic 4 / 5 / 6)
- Computer Languages Comparison Tutorials (Computer Science and Software Design)
- JScript experts - HELP needed! (Java)
Other Threads in the ASP Forum
- Previous Thread: need help with VBScript coding
- Next Thread: need help url rewrite


Hybrid Mode