I am developing a project for Hotel.In this when i select the room No from the copmbobox . the related bed , Allocated and non allocated bed are displayed in a div. For display that bed I used the Dynamic span means document.createElement("span");. While creating the span if the bed is allocated the BgColor of span is red and not allocated bed the BgColor is blue.
Now my problem is when I move the mouse over the allocated bed I want to display the information of customer for which that bed is allocated in the ToolTip from the database.
You haven't really told us what this script is doing. What is getting displayed/not displayed?
I'm guessing you are recieving some kind of JSON data, can we see what xmlhttp.responseText is please?