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">
|
<link rel="stylesheet" href="../demos.css">
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$('select#speed').selectmenu();
|
$('#speed').selectmenu();
|
||||||
|
|
||||||
var withOverflow = $('select#number').selectmenu({
|
var withOverflow = $('#number').selectmenu({
|
||||||
dropdown: false
|
dropdown: false
|
||||||
});
|
});
|
||||||
withOverflow.selectmenu("widget").addClass("overflow");
|
withOverflow.selectmenu("widget").addClass("overflow");
|
||||||
|
|
||||||
$('select#files').selectmenu();
|
$('#files').selectmenu();
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user