- <!DOCTYPE htm
- l PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <title>Expand table rows with jQuery - jExpand plugin - JankoAtWarpSpeed demos</title>
- <script type="text/javascript" src="js/jquery-1.9.1.js"></script>
- <link rel="stylesheet" type="text/css" href="css/ui-lightness/jquery-ui-1.10.3.custom.min.css">
- <script type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script>
- </head>
- <body>
- <a href="#" wicket:id="deleteLink" id="deleteLink52" onclick="
- $('body').append('<div id='+'confirm-dialog'+'><div/>');
- $('#confirm-dialog').dialog({
- show: 'fade',
- hide: 'fade',
- modal: true,
- height: 100,
- title: 'Some title',
- buttons: {
- OK: function() {
- $('#confirm-dialog').dialog('close');
- $('body').remove('#confirm-dialog');
- },
- Cancel: function() {
- $('#confirm-dialog').dialog('close');
- $('body').remove('#confirm-dialog');
- }
- }
- });
- $('#confirm-dialog').dialog('open');
- ">Delete</a>
- </body>
- </html>
please advice what is wrong here.It works for first click and then gives this error Please advice.