Created
September 23, 2010 16:23
-
-
Save jfirebaugh/593915 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style>v\:oval { behavior:url(#default#VML); display:inline-block }</style> | |
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
$('oval').click(function () { alert("type" in this); alert(this.type); } ); | |
}) | |
</script> | |
</head> | |
<body> | |
<form><v:oval id="oval" style="width:100pt;height:75pt;" fillcolor="red"> </v:oval></form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment