View Single Post
Old 02-25-2013, 04:13 PM   PM User | #6
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,498
Thanks: 18
Thanked 361 Times in 360 Posts
sunfighter is on a distinguished road
bemore you do know that there is a difference between #searchresults and #searchResults?

Try this: In the css add
Code:
#searchResults{
	position:absolute;
	top: 230px;
	left: 210px;
	z-index: 100;
    width:845;
	background-color: pink;
	display:none;
}
And doctor this
Code:
if(http.readyState == 4 && http.status == 200) {
document.getElementById('searchResults').innerHTML = http.responseText;
document.getElementById('searchResults').style.display = "block"; <= ADD
With a little luck the info should pop up like you want. Use the css top and left to position it where you want it.

Last edited by sunfighter; 02-26-2013 at 02:48 PM..
sunfighter is offline   Reply With Quote