Skip to main content

Bug Tracker

Side navigation

Ticket #3260: test-3260.html


File test-3260.html, 0.6 KB (added by dmethvin, August 12, 2010 12:41AM UTC)
<!DOCTYPE html> 
<html> 
<head> 
<title></title> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>  
	<style type="text/css">
		#box {				
			padding: 10px;
		}
	</style>
	<script type="text/javascript">
		function show () {
			$("#box").slideDown("slow",function(){
				$("#target").focus();
			});
		}
	</script>
    </head>
    <body>
        <input type="button" value="Click Here" onClick="show()" />
            <div id="box" style="display:none">
                <input type="text" id="target" />
            </div>
    </body>
</html>

Download in other formats:

Original Format