Solved

classic asp / java-script / ajax

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I build my own IDE using ASP.NET MVC? 2 43
C#, asp.net MVC, sql server, LINQ 3 32
performance issue in asp web 5 29
Expression Evaluater 3 24
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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