jQuery Rockers,
Use below code to generate dialog using jQuery :
Use below code to generate dialog using jQuery :
<script>
$(function() {
$( "#dialog" ).dialog();
});
</script>
<div class="demo">
<div id="dialog" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. </p>
</div>
<!-- Sample page content to illustrate the layering of the dialog -->
<div class="hiddenInViewSource" style="padding:20px;">
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a></p>
<form>
<input value="text input"><br>
<input type="checkbox">checkbox<br>
<input type="radio">radio<br>
<select>
<option>select</option>
</select><br><br>
<textarea>textarea</textarea><br>
</form>
</div><!-- End sample page content -->
</div><!-- End demo -->
<div style="display: none;" class="demo-description">
<p>The basic dialog window is an overlay positioned </p>
</div><!-- End demo-description -->
For other effects and all you can refer jQuery.com plugin section
or you can post your comment here to get quick solution .
No comments:
Post a Comment