Skip to content

Instantly share code, notes, and snippets.

@tvdeyen
Created March 14, 2011 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvdeyen/868991 to your computer and use it in GitHub Desktop.
Save tvdeyen/868991 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript" src="https://github.com/revsystems/jQuery-SelectBox/raw/master/jquery.sb.min.js"></script>
<link rel="stylesheet" href="https://github.com/revsystems/jQuery-SelectBox/raw/master/jquery.sb.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<form action="#" method="get" accept-charset="utf-8">
<p>
<label for="some_name">Select</label>
<select name="some_name" id="some_name">
<option value="option1">option1</option>
<option value="option2">option2</option>
</select></p>
<p>
<label for="name">Name</label>
<input type="text" name="name" value="" id="name">
</p>
<p><input type="submit" value="Continue &rarr;"></p>
</form>
<script type="text/javascript" charset="utf-8">
$('select').sb();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment