<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<div id="dialog" title="2차 분류">
<form action='/newnews/aaa.php' method=post name=ok_f>
<input type=hidden name=d_mode value='cate_make2' >
<input type=hidden name=o_uid value='cate_make2' >
<input type=text size=20 name=cate2 >
<input type=submit value='등록'>
</form>
</div>
<input type=button id=button value='레이어팝업'>
<script>
$(function()
{
$( "#dialog" ).dialog({
autoOpen: false,
width: 400,
modal: true,
});
$("#button").click(function(){
$( "#dialog" ).dialog( "open" );
});
});
</script>
|