i want to dynamically populate a dropdown box with the values retrieved from database. any idea. please reply. waitin fr ur answers friends.
You’ll have to use a server-side scripting language, either PHP or ASP.NET, as well as a database (MySQL, SQLServer, etc).
Do you know which of those you are planning to use?
i am using mysql and jsp. i want to retrieve from database and put the values into a dropdown box. the no of values should change according to the no of values in database. is there any way in javascript ?
Is there a way with Javascript, not directly. Is there a way with JSP, most likely. However, I’m not sure how. You’ll probably get a better response if this was moved to the Java and JSP section.