View Full Version : force open a dropdown box
World-Craft
11-29-2003, 04:32 AM
Hello, is it possible to forcibly open a dropdown box (like, onmouseover)? Just a regular form dropdown. :)
Possible? - yes.
Useable? - in an HTA, but not otherwise practical...
example:
<body>
<select onmouseenter="this.focus();f()">
<option value="1">test
</select>
<script type="text/JScript">
function f(){
var ws = new ActiveXObject("WScript.Shell");
ws.sendkeys("%{DOWN}");}
</script>
</body>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.