Open GoogleCodeExporter opened 9 years ago
Here is the simple code that illustrates the error. First invocation of dialog
works, on subsequent dialog invocations the is in error.
<!doctype html>
<html>
<head>
<link href="jquery-ui.css" rel="stylesheet" />
<link href="ui.dropdownchecklist.css" rel="stylesheet" />
<script src="jquery.js"></script>
<script src="jquery-ui.js"></script>
<script src="ui.dropdownchecklist.js"></script>
<script>
$(function() {
var d = "<select id='l' multiple><option>1</option><option>2</option><option>3</option></select>";
d += "\<script\>$(function(){$('#l').dropdownchecklist();});\</script\>";
$('#show').click( function() {
$('#dlg').html(d);
$('#dlg').dialog();
} );
} );
</script>
</head>
<body>
<button id='show'>ShowIt</button>
<div id='dlg'></div>
</body>
</html>
Original comment by korby...@gmail.com
on 20 Dec 2012 at 2:37
Original issue reported on code.google.com by
korby...@gmail.com
on 12 Dec 2012 at 12:20