User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 401,538 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 3,420 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: 2267 | Replies: 1
Reply
Join Date: Sep 2006
Posts: 1
Reputation: m3lVn!3 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
m3lVn!3 m3lVn!3 is offline Offline
Newbie Poster

Help asp with vbscript and javascript

  #1  
Sep 30th, 2006
hi.. i need to create an input page wherein a user needs to select from a dropdown box,either single or multiple.. if the user selects single, a java function, wherein values are coming from the database, showing the values in a multiple dropdown box enabling the user to select one from the listed values..this selection should display in the same page.. and if they chose multiple, it should still be displayed in the same page, but the values are displayed in a multiple dropdown box wherein the user can select multiple values and copy/remove it to/from another dropdown box still in the same page..

i'm writing codes using dreamweaver and the database backend is sql server 2000.. i tried using onChange event in the select tag inside the form codes, but it only returns one event, and i needed to be able to view two different functions from the onChange event.. and that is where i'm really lost.. coz i tried to create a function which encloses the same contents of my form by using document.write and i can see that it just makes my set of codes longer and i have to write document.write for every line..

please, please, please i hope there is someone with a kind heart to help me solve this problem..all responses are greatly appreciated.. and thanks in advance..
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2004
Location: Plymouth, UK
Posts: 79
Reputation: msaqib is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
msaqib msaqib is offline Offline
Junior Poster in Training

Re: asp with vbscript and javascript

  #2  
Oct 1st, 2006
You can trigger more events on onChange event like

OnChange="fun1();fun2();"
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 3:21 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC