Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created September 16, 2010 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jfirebaugh/582889 to your computer and use it in GitHub Desktop.
Save jfirebaugh/582889 to your computer and use it in GitHub Desktop.
<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 () {
$(document).submit(function () {});
$('oval').click();
})
</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