loading data in a drop down menu

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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

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.

Howdy, Stranger!

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