Solved

classic asp / java-script / ajax

Posted on 2011-09-16
1
275 Views
Last Modified: 2012-05-12
I have something like <input type="text" name="txtcity" id="txtcity">
When the input is mouse over, I would like to show
<div>
The data inside came from the database server (SQL)
</div>
When it is mouse out, then it won't show anything.

The web application is in classic asp and will see any experts know how to code it.
500 points for completed working codes.

Thanks
0
Comment
Question by:Webboy2008
1 Comment
 
LVL 51

Accepted Solution

by:
HainKurt earned 500 total points
ID: 36552488
here
<script>
function toggle(elmID){
  var elm = document.getElementById(elmID);
  elm.style.display = (elm.style.display=="")?"none":"";
}
</script>

<input type="text" name="txtcity" id="txtcity" onMouseOver="toggle('divInfo')" onMouseOut="toggle('divInfo')" >
When the input is mouse over, I would like to show 
<div style="display:none" id=divInfo>
The data inside came from the database server (SQL) 
</div>

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now