Solved

classic asp / java-script / ajax

Posted on 2011-09-16
1
276 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Javascript Hashmap output 8 45
alert before form submission 6 30
Not showing page correctly 3 29
.NET tools for adding thread safety to a web app? 3 13
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 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

20 Experts available now in Live!

Get 1:1 Help Now