Solved

classic asp / java-script / ajax

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

807 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