Solved

classic asp / java-script / ajax

Posted on 2011-09-16
1
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 56

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

615 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