jQWidgets Forums
jQuery UI Widgets › Forums › Getting Started › JQWidget 2.9.3 to JQwidget 3.0.4 › Reply To: JQWidget 2.9.3 to JQwidget 3.0.4
Hi Siva,
Sorry, but that does not happen on our side with the current version of jQWidgets.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="keywords" content="jQuery ComboBox, jqxComboBox, DropDownList, List, ListBox, Popup List, jqxDropDownList, jqxListBox, List Widget, ListBox Widget, DropDownList Widget" />
<meta name="description" content="The jqxComboBox comes with several useful events. When the user selects an item, the 'select' and 'unselect' events are triggered. "/>
<title id='Description'>The jqxComboBox comes with several useful events. When the user selects an item, the 'select' and 'unselect' events are triggered.
</title>
<link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
<script type="text/javascript" src="../../scripts/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../../scripts/demos.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxscrollbar.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxlistbox.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxcombobox.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxpanel.js"></script>
</head>
<body>
<div id='content'>
<script type="text/javascript">
$(document).ready(function () {
var source = [
"Affogato",
"Americano",
"Bicerin",
"Breve",
"Café Bombón",
"Café au lait",
"Caffé Corretto",
"Café Crema",
"Caffé Latte",
"Caffé macchiato",
"Café mélange",
"Coffee milk",
"Cafe mocha",
"Cappuccino",
"Carajillo",
"Cortado",
"Cuban espresso",
"Espresso",
"Eiskaffee",
"The Flat White",
"Frappuccino",
"Galao",
"Greek frappé coffee",
"Iced Coffee",
"Indian filter coffee",
"Instant coffee",
"Irish coffee",
"Liqueur coffee"
];
// Create a jqxComboBox
$("#jqxComboBox").jqxComboBox({selectedIndex: 0, source: source, width: '200px', height: '25px'});
// subscribe to 'unselect' and 'select' events.
alert($("#jqxComboBox").jqxComboBox('val'));
});
</script>
<div style='float: left; width: 500px;' id='jqxWidget'>
<div style='float: left; margin-top: 10px;' id='jqxComboBox'>
</div>
<div style='font-size: 12px; font-family: Verdana; margin-left: 20px; margin-top: 10px; float: left;'>
<div>
<span>
Events:</span>
<div id='Events'>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com/