mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: Simplify id-selectors, no need for element-selector
This commit is contained in:
parent
6528b48b47
commit
aa84b39ccd
@ -14,14 +14,14 @@
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
$('select#speed').selectmenu();
|
||||
$('#speed').selectmenu();
|
||||
|
||||
var withOverflow = $('select#number').selectmenu({
|
||||
var withOverflow = $('#number').selectmenu({
|
||||
dropdown: false
|
||||
});
|
||||
withOverflow.selectmenu("widget").addClass("overflow");
|
||||
|
||||
$('select#files').selectmenu();
|
||||
$('#files').selectmenu();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user