function test()
{
var cell = event.srcElement;
if (cell.parentElement.grid1=="ch")
{
alert(cell.innerText);
}
}

i have the above script for getting the header text on mousedown event on header
i need to display a listbox in a div on each header click
in javascript