Saturday, February 21, 2015

How to Open content in JavaScript dialog box

How to Open content in JavaScript dialog box:

The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, re-sized and closed with the 'x' icon by default.

Html And Javascript code here :

<html >
  <meta charset="utf-8">
  <title>jQuery UI Dialog - Default functionality</title>
  <link rel="stylesheet" href="//">
  <script src="//"></script>
  <script src="//"></script>
  <link rel="stylesheet" href="/resources/demos/style.css">
  $(function() {
    $( "#dialog" ).dialog();
<div id="dialog" title="Basic dialog">
  <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>


Other Post:

No comments:

Post a Comment