버튼관련 질문드립니다 도와주세요.,...

· 13년 전 · 1526
버튼1 번 이란 버튼을 클릭하면 해당 지정한 링크 넘어가게 하고 싶습니다

도와주세요......

========내 용==========
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$( "#dialog:ui-dialog" ).dialog( "destroy" );

$( "#dialog-confirm" ).dialog({
resizable: false,
height:140,
modal: true,
buttons: {
"버튼1": function() {
$( this ).dialog( "close" );
},
버튼2: function() {
$( this ).dialog( "close" );
}
}
});
});
</script>



<div class="demo">

<div id="dialog-confirm" title="Empty the recycle bin?">
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</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>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</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 class="demo-description">
<p>Confirm an action that may be destructive or important. Set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
</div><!-- End demo-description -->

===================================== 끝
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 884
13년 전 조회 1,436
13년 전 조회 1,764
13년 전 조회 1,524
13년 전 조회 1,976
13년 전 조회 1,006
13년 전 조회 1,611
13년 전 조회 1,597
13년 전 조회 1,570
13년 전 조회 1,527
13년 전 조회 1,228
13년 전 조회 1,103
13년 전 조회 767
13년 전 조회 1,053
13년 전 조회 1,533
13년 전 조회 964
13년 전 조회 953
13년 전 조회 996
13년 전 조회 1,551
13년 전 조회 977
🐛 버그신고