Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (69 sloc) 1.99 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Title</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="jquery.shared.options.js"></script>
</head>
<body>
<form action="#">
<p>
<label>
Dropdown 1
<select>
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<p>
<label>
Dropdown 2
<select>
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<p>
<label>
Dropdown 3
<select>
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<p>
<label>
Dropdown 4
<select id="dropdown4">
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro" selected="selected">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<input type="submit"/>
</form>
</body>
<script>
$('form select').sharedOptions();
</script>
</html>
Jump to Line
Something went wrong with that request. Please try again.