loadcontent.html 906 B

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Load Panel Content - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Load Panel Content</h2>
  14. <p>Click the refresh button on top right of panel to load content.</p>
  15. <div style="margin:20px 0 10px 0;"></div>
  16. <div id="p" class="easyui-panel" title="Load Panel Content" style="width:700px;height:200px;padding:10px;"
  17. data-options="
  18. tools:[{
  19. iconCls:'icon-reload',
  20. handler:function(){
  21. $('#p').panel('refresh', '_content.html');
  22. }
  23. }]
  24. ">
  25. </div>
  26. </body>
  27. </html>