User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 397,592 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 2,867 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.NET advertiser: Lunarpages ASP Web Hosting
Views: 924 | Replies: 2
Reply
Join Date: Sep 2007
Posts: 2
Reputation: daniweb_jeet is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
daniweb_jeet daniweb_jeet is offline Offline
Newbie Poster

Question find listbox from client side

  #1  
Sep 10th, 2007
Hello Members

I am having a problem that is i want to access the listbox from javascript(client side) that is in datalist. and also i want to validate that listbox for selection.

please help me......
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 9
Reputation: rmaheshmsc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rmaheshmsc rmaheshmsc is offline Offline
Newbie Poster

Re: find listbox from client side

  #2  
Sep 11th, 2007
var Val = document.getElementById('ListBox1').value;

Used For getting value form listboz on clienside

We Can also control the validation on clientside itself ... but i know u r requirement(example) clearly..
Reply With Quote  
Join Date: Sep 2007
Posts: 2
Reputation: daniweb_jeet is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
daniweb_jeet daniweb_jeet is offline Offline
Newbie Poster

Re: find listbox from client side

  #3  
Sep 11th, 2007
I have nested datalist and listbox is inside the inner datalist.first i have to find out that for validate that only a number of items user must select.and also i have to find the value of selected items of that listbox.

thanks.....
Reply With Quote  
Reply

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

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

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

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