Jquery UI 对话框不能与 JQuery Mobile 一起使用 [英] Jquery UI dialog not working along side JQuery Mobile
本文介绍了Jquery UI 对话框不能与 JQuery Mobile 一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我还包含 JQuery mobile 时,我无法在 JQuery 中使用简单的对话框:
<html lang="zh-cn"><头><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>jQuery UI 对话框 - 默认功能</title><link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"><script src="https://code.jquery.com/jquery-2.1.4.js"></script><script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script><script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script><脚本>$( 函数() {$( "#dialog" ).dialog();});头部><body style="background-color: #888"><div id="dialog" title="基本对话框"><p>这是用于显示信息的默认对话框.可以使用x"图标移动、调整大小和关闭对话窗口.</p>