1. 程式人生 > >ui-dialog-titlebar-close 按鈕存在 圖示不顯示

ui-dialog-titlebar-close 按鈕存在 圖示不顯示

Screen shot of missing close icon

The reason this is happening, is because you are calling bootstrap in, after you are calling jquery-ui in.

Literally, swap the two so that instead of:

<scriptsrc="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script><scriptsrc="js/bootstrap.min.js"></script>

it becomes

<script
src="js/bootstrap.min.js"></script><scriptsrc="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

:)