Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

loading data in a drop down menu

anindobanindob Posts: 1Member
hello everyone....

i'm tried this code but unable to solve the problem...
i'v taken a button and on the button click i want that the data shd load in a drop down menu....but its not happening....please solve this prob....
i'm posting the code....i hope it will make the things clear...

<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

Untitled Document
Connection con=null;
ResultSet rs=null;
Statement stat=con.createStatement();
String sql="select * from message_box where name='anindo'";

function check()
var show=document.getElementById("mydivtag");
show.innerHTML = "";




Sign In or Register to comment.