By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,480 Members | 1,743 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,480 IT Pros & Developers. It's quick & easy.

how to get div element value in javascript

P: 1
hi,
i have design aheml page in which i m usinf div tag and javascript , no form is there.
In div i have taken adropdown box, i want the selected value from a dropdown box to in javascript.
pls help m.
Jul 4 '08 #1
Share this Question
Share on Google+
1 Reply


hsriat
Expert 100+
P: 1,654
Value of a div (actually the text inside a div) can be obtained by innerHTML.
Jul 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.