HTML
Enter ID 1 to 37 <input type=text size=3 id=t1><br><button id="b1">Show record</button>
<br><div id=msg></div>
<div id="my_dialog" title="plus2net dialog">
<div id=body></div>
</div>
JQuery
<script>
$(document).ready(function() {
$(function() {
var pos = { my: "center center", at: "center top", of: window };
$( "#my_dialog" ).dialog({
position: pos,
autoOpen: false,
buttons: {
"Close ": function() {
$( this ).dialog( "close" );
}
}
});
});
$("#b1").click(function(){
$( "#my_dialog" ).dialog( "open" );
$('#body').text('Wait..');
var id=$('#t1').val();
$('#body').load("dialog-box7ck.php?id="+id);
})
})
</script>